Skip to content

Commit

Permalink
[RemoveDIs] Follow up to 6b62a91, fix a ICmpInst constructor call
Browse files Browse the repository at this point in the history
Seemingly I either missed this on a buildbot or otherwise didn't
cover this :(
  • Loading branch information
jmorse committed Mar 4, 2024
1 parent a4951ec commit df52521
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/examples/ParallelJIT/ParallelJIT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ static Function *CreateFibFunction(Module *M) {
BasicBlock *RecurseBB = BasicBlock::Create(Context, "recurse", FibF);

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

// Create: ret int 1
Expand Down

0 comments on commit df52521

Please sign in to comment.