From 2a09a5fe752117113500a8353c80ad5a7105e6f2 Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Tue, 12 Jul 2016 00:08:14 +0000 Subject: [PATCH] AMDGPU: Fix missing scc def on control flow pseudos These are all expanded to instructions that include an scc def. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275132 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/AMDGPU/SIInstructions.td | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/AMDGPU/SIInstructions.td b/lib/Target/AMDGPU/SIInstructions.td index 6ded07c17d9..954728e8341 100644 --- a/lib/Target/AMDGPU/SIInstructions.td +++ b/lib/Target/AMDGPU/SIInstructions.td @@ -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 < -- 2.11.0