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