fix cg cranelift
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
This commit is contained in:
parent
63a137605f
commit
5f357c2c51
@ -542,6 +542,8 @@ fn codegen_regular_intrinsic_call<'tcx>(
|
||||
|
||||
sym::ptr_mask => {
|
||||
intrinsic_args!(fx, args => (ptr, mask); intrinsic);
|
||||
let ptr = ptr.load_scalar(fx);
|
||||
let mask = mask.load_scalar(fx);
|
||||
fx.bcx.ins().band(ptr, mask);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user