llvm.org GIT mirror llvm / 680f2f0
eliminate vector-related ctors git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34227 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 12 years ago
1 changed file(s) with 1 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
8888 Value *Ten = ConstantInt::get(Type::Int32Ty, 10);
8989
9090 // Pass Ten to the call call:
91 std::vector Params;
92 Params.push_back(Ten);
93 CallInst *Add1CallRes = new CallInst(Add1F, Params, "add1", BB);
91 CallInst *Add1CallRes = new CallInst(Add1F, Ten, "add1", BB);
9492 Add1CallRes->setTailCall(true);
9593
9694 // Create the return instruction and add it to the basic block.