[llvm] r291748 - AMDGPU: Fix sub_oneuse being marked commutative
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 23:17:29 PST 2017
Author: arsenm
Date: Thu Jan 12 01:17:28 2017
New Revision: 291748
URL: http://llvm.org/viewvc/llvm-project?rev=291748&view=rev
Log:
AMDGPU: Fix sub_oneuse being marked commutative
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructions.td
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructions.td?rev=291748&r1=291747&r2=291748&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructions.td (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUInstructions.td Thu Jan 12 01:17:28 2017
@@ -629,9 +629,10 @@ def smax_oneuse : HasOneUseBinOp<smax>;
def smin_oneuse : HasOneUseBinOp<smin>;
def umax_oneuse : HasOneUseBinOp<umax>;
def umin_oneuse : HasOneUseBinOp<umin>;
-def sub_oneuse : HasOneUseBinOp<sub>;
} // Properties = [SDNPCommutative, SDNPAssociative]
+def sub_oneuse : HasOneUseBinOp<sub>;
+
def select_oneuse : HasOneUseTernaryOp<select>;
// Special conversion patterns
More information about the llvm-commits
mailing list