Skip to content

Commit d384889

Browse files
committed
fixup! drop julia. in llvm-simdloop
1 parent 86a848e commit d384889

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/llvm-simdloop.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,10 +195,10 @@ static bool processLoop(Loop &L, OptimizationRemarkEmitter &ORE, ScalarEvolution
195195
return false;
196196

197197
LLVMContext &Context = L.getHeader()->getContext();
198-
MDNode *NewLoopID = MDNode::get(Context, MDs);
198+
LoopID = MDNode::get(Context, MDs);
199199
// Set operand 0 to refer to the loop id itself
200-
NewLoopID->replaceOperandWith(0, NewLoopID);
201-
L.setLoopID(NewLoopID);
200+
LoopID->replaceOperandWith(0, LoopID);
201+
L.setLoopID(LoopID);
202202

203203
REMARK([&]() {
204204
return OptimizationRemarkAnalysis(DEBUG_TYPE, "Loop SIMD Flags", L.getStartLoc(), L.getHeader())

0 commit comments

Comments
 (0)