[PATCH] D26684: AMDGPU: Move redundant setting of inst properties
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 10:52:38 PST 2016
arsenm created this revision.
arsenm added a subscriber: llvm-commits.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: tony-tye, yaxunl, nhaehnle, wdng, kzhuravl.
https://reviews.llvm.org/D26684
Files:
lib/Target/AMDGPU/VOPInstructions.td
Index: lib/Target/AMDGPU/VOPInstructions.td
===================================================================
--- lib/Target/AMDGPU/VOPInstructions.td
+++ lib/Target/AMDGPU/VOPInstructions.td
@@ -35,6 +35,7 @@
let hasSideEffects = 0;
let UseNamedOperandTable = 1;
let VALU = 1;
+ let Uses = [EXEC];
}
class VOP3Common <dag outs, dag ins, string asm = "",
@@ -49,8 +50,6 @@
let AddedComplexity = -1000;
let VOP3 = 1;
- let VALU = 1;
- let Uses = [EXEC];
let AsmMatchConverter =
!if(!eq(VOP3Only,1),
@@ -69,7 +68,6 @@
let hasPostISelHook = 1;
}
-
class VOP3_Pseudo <string opName, VOPProfile P, list<dag> pattern=[], bit VOP3Only = 0> :
InstSI <P.Outs64, P.Ins64, "", pattern>,
VOP <opName>,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26684.78033.patch
Type: text/x-patch
Size: 739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161115/b97af513/attachment.bin>
More information about the llvm-commits
mailing list