[llvm] df52521 - [RemoveDIs] Follow up to 6b62a9135a2, fix a ICmpInst constructor call
Jeremy Morse via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 11:32:30 PST 2024
Author: Jeremy Morse
Date: 2024-03-04T19:31:42Z
New Revision: df5252165524fbcabbd7287a8d923b5139247114
URL: https://github.com/llvm/llvm-project/commit/df5252165524fbcabbd7287a8d923b5139247114
DIFF: https://github.com/llvm/llvm-project/commit/df5252165524fbcabbd7287a8d923b5139247114.diff
LOG: [RemoveDIs] Follow up to 6b62a9135a2, fix a ICmpInst constructor call
Seemingly I either missed this on a buildbot or otherwise didn't
cover this :(
Added:
Modified:
llvm/examples/ParallelJIT/ParallelJIT.cpp
Removed:
################################################################################
diff --git a/llvm/examples/ParallelJIT/ParallelJIT.cpp b/llvm/examples/ParallelJIT/ParallelJIT.cpp
index 7da105d201b917..c736f170e877e9 100644
--- a/llvm/examples/ParallelJIT/ParallelJIT.cpp
+++ b/llvm/examples/ParallelJIT/ParallelJIT.cpp
@@ -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
More information about the llvm-commits
mailing list