Skip to content

Commit 5f357c2

Browse files
WaffleLapkinbjorn3
andcommitted
fix cg cranelift
Co-authored-by: bjorn3 <[email protected]>
1 parent 63a1376 commit 5f357c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/intrinsics/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,8 @@ fn codegen_regular_intrinsic_call<'tcx>(
542542

543543
sym::ptr_mask => {
544544
intrinsic_args!(fx, args => (ptr, mask); intrinsic);
545+
let ptr = ptr.load_scalar(fx);
546+
let mask = mask.load_scalar(fx);
545547
fx.bcx.ins().band(ptr, mask);
546548
}
547549

0 commit comments

Comments
 (0)