Skip to content

Commit df52521

Browse files
committed
[RemoveDIs] Follow up to 6b62a91, fix a ICmpInst constructor call
Seemingly I either missed this on a buildbot or otherwise didn't cover this :(
1 parent a4951ec commit df52521

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/examples/ParallelJIT/ParallelJIT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ static Function *CreateFibFunction(Module *M) {
104104
BasicBlock *RecurseBB = BasicBlock::Create(Context, "recurse", FibF);
105105

106106
// Create the "if (arg < 2) goto exitbb"
107-
Value *CondInst = new ICmpInst(*BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond");
107+
Value *CondInst = new ICmpInst(BB, ICmpInst::ICMP_SLE, ArgX, Two, "cond");
108108
BranchInst::Create(RetBB, RecurseBB, CondInst, BB);
109109

110110
// Create: ret int 1

0 commit comments

Comments
 (0)