search for: 26691d53

Displaying 3 results from an estimated 3 matches for "26691d53".

2012 May 27
0
[LLVMdev] Help with Values sign
I show you the trace of calls to llvm that my compiler makes to generate the code above. bloques.back().last is of type Value* and bloques.back().bl is BasicBlock* (the current Block) bloques.back().last = dyn_cast<Value>(ConstantInt::get(Type::getInt32Ty(getGlobalContext()), $1, true)); // $1 is an int AllocaInst *alloc = new AllocaInst(
2012 May 27
2
[LLVMdev] Help with Values sign
...> LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120527/26691d53/attachment.html>
2012 May 27
2
[LLVMdev] Help with Values sign
Hi everyone, I'm having some problems when loading values. Here's a simple example of the IR that my compiler generates to show the problem: define i32 @main() { entry: %a = alloca i32 ; <i32*> [#uses=2] store i32 1, i32* %a %r = load i32* %a ; <i32> [#uses=1] br label %Return Return: