[PATCH] D22148: AMDGPU: Fix missing scc def on control flow pseudos
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 8 11:55:24 PDT 2016
arsenm created this revision.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
Herald added subscribers: kzhuravl, arsenm.
These are all expanded to instructions that include an scc def.
http://reviews.llvm.org/D22148
Files:
lib/Target/AMDGPU/SIInstructions.td
Index: lib/Target/AMDGPU/SIInstructions.td
===================================================================
--- lib/Target/AMDGPU/SIInstructions.td
+++ lib/Target/AMDGPU/SIInstructions.td
@@ -1936,7 +1936,7 @@
let SALU = 1;
}
-let Uses = [EXEC], Defs = [EXEC] in {
+let Uses = [EXEC], Defs = [EXEC, SCC] in {
let isBranch = 1, isTerminator = 1 in {
@@ -1979,7 +1979,7 @@
[(int_amdgcn_end_cf i64:$saved)]
>;
-} // End Uses = [EXEC], Defs = [EXEC], usesCustomInserter = 1
+} // End Uses = [EXEC], Defs = [EXEC, SCC], usesCustomInserter = 1
let Uses = [EXEC], Defs = [EXEC,VCC] in {
def SI_KILL : PseudoInstSI <
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22148.63274.patch
Type: text/x-patch
Size: 633 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160708/4618785e/attachment.bin>
More information about the llvm-commits
mailing list