From fdf7ab1c69c3d6a68d312c52421c289b13d9eb5e Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Mon, 3 Jun 2013 15:44:42 +0000 Subject: [PATCH] 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 --- lib/Target/R600/R600ControlFlowFinalizer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/R600/R600ControlFlowFinalizer.cpp b/lib/Target/R600/R600ControlFlowFinalizer.cpp index 832c375bf5b..f2296133074 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 FetchClauses, AluClauses; for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();