[llvm] r287311 - AMDGPU: Move redundant setting of inst properties
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 17 20:42:59 PST 2016
Author: arsenm
Date: Thu Nov 17 22:42:59 2016
New Revision: 287311
URL: http://llvm.org/viewvc/llvm-project?rev=287311&view=rev
Log:
AMDGPU: Move redundant setting of inst properties
Modified:
llvm/trunk/lib/Target/AMDGPU/VOPInstructions.td
Modified: llvm/trunk/lib/Target/AMDGPU/VOPInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/VOPInstructions.td?rev=287311&r1=287310&r2=287311&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/VOPInstructions.td (original)
+++ llvm/trunk/lib/Target/AMDGPU/VOPInstructions.td Thu Nov 17 22:42:59 2016
@@ -35,6 +35,7 @@ class VOPAnyCommon <dag outs, dag ins, s
let hasSideEffects = 0;
let UseNamedOperandTable = 1;
let VALU = 1;
+ let Uses = [EXEC];
}
class VOP3Common <dag outs, dag ins, string asm = "",
@@ -49,8 +50,6 @@ class VOP3Common <dag outs, dag ins, str
let AddedComplexity = -1000;
let VOP3 = 1;
- let VALU = 1;
- let Uses = [EXEC];
let AsmMatchConverter =
!if(!eq(VOP3Only,1),
@@ -69,7 +68,6 @@ class VOP3Common <dag outs, dag ins, str
let hasPostISelHook = 1;
}
-
class VOP3_Pseudo <string opName, VOPProfile P, list<dag> pattern=[], bit VOP3Only = 0> :
InstSI <P.Outs64, P.Ins64, "", pattern>,
VOP <opName>,
More information about the llvm-commits
mailing list