aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2013-06-03 15:44:42 +0000
committerVincent Lejeune <vljn@ovi.com>2013-06-03 15:44:42 +0000
commitfdf7ab1c69c3d6a68d312c52421c289b13d9eb5e (patch)
treeee2e40b86b10060f82c014dd615f414e2c86818d /lib
parent96fe0be43b3163ee9a9fd2e9f1a6ed2753bd7596 (diff)
downloadexternal_llvm-fdf7ab1c69c3d6a68d312c52421c289b13d9eb5e.zip
external_llvm-fdf7ab1c69c3d6a68d312c52421c289b13d9eb5e.tar.gz
external_llvm-fdf7ab1c69c3d6a68d312c52421c289b13d9eb5e.tar.bz2
R600: CALL_FS consumes a stack size entry
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/R600/R600ControlFlowFinalizer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/R600/R600ControlFlowFinalizer.cpp b/lib/Target/R600/R600ControlFlowFinalizer.cpp
index 832c375..f229613 100644
--- a/lib/Target/R600/R600ControlFlowFinalizer.cpp
+++ b/lib/Target/R600/R600ControlFlowFinalizer.cpp
@@ -340,6 +340,7 @@ public:
BuildMI(MBB, MBB.begin(), MBB.findDebugLoc(MBB.begin()),
getHWInstrDesc(CF_CALL_FS));
CfCount++;
+ MaxStack = 1;
}
std::vector<ClauseFile> FetchClauses, AluClauses;
for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();