diff --git a/lib/Target/AMDGPU/AMDGPUInstructions.td b/lib/Target/AMDGPU/AMDGPUInstructions.td index 702335b58d1..2fde58d3171 100644 --- a/lib/Target/AMDGPU/AMDGPUInstructions.td +++ b/lib/Target/AMDGPU/AMDGPUInstructions.td @@ -362,11 +362,6 @@ multiclass AtomicCmpSwapLocal { defm atomic_cmp_swap : AtomicCmpSwapLocal ; -def mskor_flat : PatFrag<(ops node:$val, node:$ptr), - (AMDGPUstore_mskor node:$val, node:$ptr), [{ - return cast(N)->getAddressSpace() == AMDGPUAS::FLAT_ADDRESS; -}]>; - class global_binary_atomic_op : PatFrag< (ops node:$ptr, node:$value), (atomic_op node:$ptr, node:$value), @@ -385,11 +380,6 @@ def atomic_umin_global : global_binary_atomic_op; def atomic_xor_global : global_binary_atomic_op; def atomic_cmp_swap_global : global_binary_atomic_op; -def atomic_cmp_swap_global_nortn : PatFrag< - (ops node:$ptr, node:$value), - (atomic_cmp_swap_global node:$ptr, node:$value), - [{ return SDValue(N, 0).use_empty(); }] ->; //===----------------------------------------------------------------------===// // Misc Pattern Fragments @@ -603,9 +593,6 @@ def sub_oneuse : HasOneUseBinOp; def select_oneuse : HasOneUseTernaryOp