Skip to content

Commit

Permalink
fixup! drop julia. in llvm-simdloop
Browse files Browse the repository at this point in the history
  • Loading branch information
vchuravy committed Aug 13, 2023
1 parent 86a848e commit d384889
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/llvm-simdloop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ static bool processLoop(Loop &L, OptimizationRemarkEmitter &ORE, ScalarEvolution
return false;

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

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

0 comments on commit d384889

Please sign in to comment.