Skip to content

Commit

Permalink
Update intrinsics.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt authored May 22, 2024
1 parent d11d196 commit c7938a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/intrinsics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,7 @@ static jl_cgval_t generic_bitcast(jl_codectx_t &ctx, ArrayRef<jl_cgval_t> argv)
// emit_inttoptr may undo an PtrToInt
setName(ctx.emission_context, vx, "bitcast_coercion");
} else {
vx = emit_bitcast(ctx, vx, llvmt);
if (isa<Instruction>(vx) && !vx->hasName())
// emit_bitcast may undo another bitcast
setName(ctx.emission_context, vx, "bitcast_coercion");
Expand Down

0 comments on commit c7938a1

Please sign in to comment.