summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/VOPCInstructions.td
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2018-01-15 17:55:35 +0000
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2018-01-15 17:55:35 +0000
commitf630047ef6b7fb496961c10d3f4bdbc43a75251b (patch)
tree5482a043344f92fbb4cec6fab44c9c2cdac16c44 /llvm/lib/Target/AMDGPU/VOPCInstructions.td
parent79add5f155df5a803c4512c6ad6812648d2cbfcb (diff)
downloadbcm5719-llvm-f630047ef6b7fb496961c10d3f4bdbc43a75251b.tar.gz
bcm5719-llvm-f630047ef6b7fb496961c10d3f4bdbc43a75251b.zip
[AMDGPU] Copy impdefs from pseudo to real instructions
In some cases we do not copy implicit defs from pseudo to real VOP instructions. It has no visible impact at the moment thus no tests are affected or added. Differential Revision: https://reviews.llvm.org/D41783 llvm-svn: 322496
Diffstat (limited to 'llvm/lib/Target/AMDGPU/VOPCInstructions.td')
-rw-r--r--llvm/lib/Target/AMDGPU/VOPCInstructions.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AMDGPU/VOPCInstructions.td b/llvm/lib/Target/AMDGPU/VOPCInstructions.td
index 146870e2153..f8879d6bd8f 100644
--- a/llvm/lib/Target/AMDGPU/VOPCInstructions.td
+++ b/llvm/lib/Target/AMDGPU/VOPCInstructions.td
@@ -106,6 +106,7 @@ class VOPC_Real <VOPC_Pseudo ps, int EncodingFamily> :
let TSFlags = ps.TSFlags;
let UseNamedOperandTable = ps.UseNamedOperandTable;
let Uses = ps.Uses;
+ let Defs = ps.Defs;
}
class VOPC_SDWA_Pseudo <string OpName, VOPProfile P, list<dag> pattern=[]> :
OpenPOWER on IntegriCloud