Displaying 1 result from an estimated 1 matches for "1011593".
Did you mean:
1011591
2010 Aug 09
3
[LLVMdev] llvm "iword" type
Hi,
I'm generating some LLVM IR that has to mask out the lower bits two bits of
a certain pointers. I expect this should be done like so (on a 32-bit
architecture)
...
%classPointer = ...
%classPointer1 = ptrtoint i8** %classPointer to i32
%classPointer2 = and i32 -4, %classPointer1
%realClassPointer = inttoptr i32 %classPointer2 to i8**
...
Ideally, I'd like to generate completely