IR: Remove extra name mangling from llvm.ptrmask

This should not be allowed to change the address space of the source
and result, so the pointer types should match. The only emitter of
this seems to be a disable clang change, so no tests to update.
This commit is contained in:
Matt Arsenault 2020-05-15 13:33:56 -04:00
parent 558db27c49
commit adda9c0a4f
1 changed files with 1 additions and 1 deletions

View File

@ -1160,7 +1160,7 @@ def int_is_constant : Intrinsic<[llvm_i1_ty], [llvm_any_ty],
"llvm.is.constant">;
// Intrinsic to mask out bits of a pointer.
def int_ptrmask: Intrinsic<[llvm_anyptr_ty], [llvm_anyptr_ty, llvm_anyint_ty],
def int_ptrmask: Intrinsic<[llvm_anyptr_ty], [LLVMMatchType<0>, llvm_anyint_ty],
[IntrNoMem, IntrSpeculatable, IntrWillReturn]>;
//===---------------- Vector Predication Intrinsics --------------===//