summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/SystemZ
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2010-05-14 22:17:42 +0000
committerBill Wendling <isanbard@gmail.com>2010-05-14 22:17:42 +0000
commit23ead992838188a3696a0c4510010b41824e789e (patch)
tree870d6ea5fb602947a1a1dfa3ed9e7c9792e4a2e5 /test/CodeGen/SystemZ
parentefa155fd6e3820495205a09f8b9f20390d126153 (diff)
downloadexternal_llvm-23ead992838188a3696a0c4510010b41824e789e.zip
external_llvm-23ead992838188a3696a0c4510010b41824e789e.tar.gz
external_llvm-23ead992838188a3696a0c4510010b41824e789e.tar.bz2
SystemZ really does mean "has calls" and not just "adjusts stack." Go ahead and
replace the check with the appropriate predicate. Modify the testcase to reflect the correct code. (It should be saving callee-saved registers on the stack allocated by the calling fuction.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/SystemZ')
-rw-r--r--test/CodeGen/SystemZ/2009-07-10-BadIncomingArgOffset.ll4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/SystemZ/2009-07-10-BadIncomingArgOffset.ll b/test/CodeGen/SystemZ/2009-07-10-BadIncomingArgOffset.ll
index 6a76a8e..b37f7e9 100644
--- a/test/CodeGen/SystemZ/2009-07-10-BadIncomingArgOffset.ll
+++ b/test/CodeGen/SystemZ/2009-07-10-BadIncomingArgOffset.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s | grep 168
+; RUN: llc < %s | FileCheck %s
target datalayout = "E-p:64:64:64-i8:8:16-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-a0:16:16"
target triple = "s390x-linux"
@@ -8,6 +8,8 @@ declare void @rdft(i32 signext, i32 signext, double*, i32* nocapture, double*) n
declare double @mp_mul_d2i_test(i32 signext, i32 signext, double* nocapture) nounwind
define void @mp_mul_radix_test_bb3(i32 %radix, i32 %nfft, double* %tmpfft, i32* %ip, double* %w, double* %arrayidx44.reload, double* %call.out) nounwind {
+; CHECK: lg %r11, 328(%r15)
+
newFuncRoot:
br label %bb3