[LLVMdev] Casting a Value
chayan.ju at gmail.com
Mon Jun 21 06:35:57 CDT 2010
I have Value V of Type i32*. How can I convert/set it's Type to i32?
Or How can I create another Value of Type i32 and with same name as V.
I have tried
Value *NewV = new Value(Type,scid);
It causes stack dump. I am not sure as second argument in the Value
constructor as scid (SubClassID). So I have mentioned 0.
Any Idea how to do this?
More information about the LLVMdev