Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Nov 5, 2024
1 parent 11968b1 commit 872fabd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/optimize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@ function nodecayed_phis!(mod::LLVM.Module)
end
if opcode(v) == LLVM.API.LLVMBitCast
preop = operands(v)[1]
while isa(preop, LLVM.ConstExpr) && opcode(preop) == LLVM.API.LLVMBitCast
while isa(preop, LLVM.ConstantExpr) && opcode(preop) == LLVM.API.LLVMBitCast
preop = operands(preop)[1]
end
v2, offset, skipload =
Expand Down

0 comments on commit 872fabd

Please sign in to comment.