Skip to content

Commit c7938a1

Browse files
authored
Update intrinsics.cpp
1 parent d11d196 commit c7938a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/intrinsics.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -639,6 +639,7 @@ static jl_cgval_t generic_bitcast(jl_codectx_t &ctx, ArrayRef<jl_cgval_t> argv)
639639
// emit_inttoptr may undo an PtrToInt
640640
setName(ctx.emission_context, vx, "bitcast_coercion");
641641
} else {
642+
vx = emit_bitcast(ctx, vx, llvmt);
642643
if (isa<Instruction>(vx) && !vx->hasName())
643644
// emit_bitcast may undo another bitcast
644645
setName(ctx.emission_context, vx, "bitcast_coercion");

0 commit comments

Comments
 (0)