[llvm] r275132 - AMDGPU: Fix missing scc def on control flow pseudos
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 11 17:08:14 PDT 2016
Author: arsenm
Date: Mon Jul 11 19:08:14 2016
New Revision: 275132
URL: http://llvm.org/viewvc/llvm-project?rev=275132&view=rev
Log:
AMDGPU: Fix missing scc def on control flow pseudos
These are all expanded to instructions that include an scc def.
Modified:
llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
Modified: llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIInstructions.td?rev=275132&r1=275131&r2=275132&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIInstructions.td (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIInstructions.td Mon Jul 11 19:08:14 2016
@@ -1936,7 +1936,7 @@ def SI_MASK_BRANCH : InstSI <
let SALU = 1;
}
-let Uses = [EXEC], Defs = [EXEC] in {
+let Uses = [EXEC], Defs = [EXEC, SCC] in {
let isBranch = 1, isTerminator = 1 in {
@@ -1978,7 +1978,7 @@ def SI_END_CF : InstSI <
[(int_amdgcn_end_cf i64:$saved)]
>;
-} // End Uses = [EXEC], Defs = [EXEC]
+} // End Uses = [EXEC], Defs = [EXEC, SCC]
let Uses = [EXEC], Defs = [EXEC,VCC] in {
def SI_KILL : InstSI <
More information about the llvm-commits
mailing list