Skip to content

Commit 98e2bdf

Browse files
committed
Fix
1 parent 105711b commit 98e2bdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llvm-julia-licm.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ static void moveInstructionBefore(Instruction &I, Instruction &Dest,
6262
#if JL_LLVM_VERSION >= 200000
6363
I.moveBefore(Dest.getIterator());
6464
#else
65-
I.moveBefore(Dest);
65+
I.moveBefore(&Dest);
6666
#endif
6767
if (MSSAU.getMemorySSA())
6868
if (MemoryUseOrDef *OldMemAcc = cast_or_null<MemoryUseOrDef>(

0 commit comments

Comments
 (0)