Skip to content

Commit

Permalink
fix ptr_mask codegen test wrt llvm opaque pointers
Browse files Browse the repository at this point in the history
  • Loading branch information
WaffleLapkin committed Aug 21, 2022
1 parent 92b05db commit ca75312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/codegen/intrinsics/mask.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
#[no_mangle]
pub fn mask_ptr(ptr: *const u16, mask: usize) -> *const u16 {
// CHECK: call
// CHECK-SAME: @llvm.ptrmask.p0i8.[[WORD]](
// CHECK-SAME: @llvm.ptrmask.{{p0|p0i8}}.[[WORD]]({{ptr|i8\*}} {{%ptr|%0}}, [[WORD]] %mask)
core::intrinsics::ptr_mask(ptr, mask)
}

0 comments on commit ca75312

Please sign in to comment.