llvm.org GIT mirror llvm / 927eb31
Fix bot breakage in InstructionsTest. Makes sure the Call dies before the Function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204856 91177308-0d34-0410-b5e6-96231b3b80d8 Eli Bendersky 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
6161 Value *Args[] = {ConstantInt::get(Type::getInt8Ty(C), 20),
6262 ConstantInt::get(Type::getInt32Ty(C), 9999),
6363 ConstantInt::get(Type::getInt64Ty(C), 42)};
64 CallInst *Call = CallInst::Create(F, Args);
64 std::unique_ptr Call(CallInst::Create(F, Args));
6565
6666 // Make sure iteration over a call's arguments works as expected.
6767 unsigned Idx = 0;