forked from OSchip/llvm-project
mark all the 'foo with overflow' intrinsics as readnone.
llvm-svn: 90055
This commit is contained in:
parent
5fe0866b9d
commit
6a05f2dc8e
|
@ -341,19 +341,25 @@ def int_init_trampoline : Intrinsic<[llvm_ptr_ty],
|
||||||
|
|
||||||
// Expose the carry flag from add operations on two integrals.
|
// Expose the carry flag from add operations on two integrals.
|
||||||
def int_sadd_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
def int_sadd_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
||||||
[LLVMMatchType<0>, LLVMMatchType<0>]>;
|
[LLVMMatchType<0>, LLVMMatchType<0>],
|
||||||
|
[IntrNoMem]>;
|
||||||
def int_uadd_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
def int_uadd_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
||||||
[LLVMMatchType<0>, LLVMMatchType<0>]>;
|
[LLVMMatchType<0>, LLVMMatchType<0>],
|
||||||
|
[IntrNoMem]>;
|
||||||
|
|
||||||
def int_ssub_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
def int_ssub_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
||||||
[LLVMMatchType<0>, LLVMMatchType<0>]>;
|
[LLVMMatchType<0>, LLVMMatchType<0>],
|
||||||
|
[IntrNoMem]>;
|
||||||
def int_usub_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
def int_usub_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
||||||
[LLVMMatchType<0>, LLVMMatchType<0>]>;
|
[LLVMMatchType<0>, LLVMMatchType<0>],
|
||||||
|
[IntrNoMem]>;
|
||||||
|
|
||||||
def int_smul_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
def int_smul_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
||||||
[LLVMMatchType<0>, LLVMMatchType<0>]>;
|
[LLVMMatchType<0>, LLVMMatchType<0>],
|
||||||
|
[IntrNoMem]>;
|
||||||
def int_umul_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
def int_umul_with_overflow : Intrinsic<[llvm_anyint_ty, llvm_i1_ty],
|
||||||
[LLVMMatchType<0>, LLVMMatchType<0>]>;
|
[LLVMMatchType<0>, LLVMMatchType<0>],
|
||||||
|
[IntrNoMem]>;
|
||||||
|
|
||||||
//===------------------------- Atomic Intrinsics --------------------------===//
|
//===------------------------- Atomic Intrinsics --------------------------===//
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue