summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2017-12-07 22:26:19 +0000
committerEric Christopher <echristo@gmail.com>2017-12-07 22:26:19 +0000
commit491343d2fa2eff3cab331454c107a3344def2b74 (patch)
tree600c0639f920fa59d1d66ab7712d85d8322c2960 /test/CodeGen/PowerPC
parent134f1a833f6af4aa49d244669f346cb2d0d7d8ae (diff)
Temporarily revert "[PowerPC] Allow tail calls of fastcc functions from C CallingConv functions."
It is causing sanitizer failures on llvm tests in a bootstrapped compiler. No bot link since it's currently down, but following up to get the bot up. This reverts commit r319218. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320106 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r--test/CodeGen/PowerPC/duplicate-returns-for-tailcall.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/CodeGen/PowerPC/duplicate-returns-for-tailcall.ll b/test/CodeGen/PowerPC/duplicate-returns-for-tailcall.ll
index 9c0e77dafde..520efd8106f 100644
--- a/test/CodeGen/PowerPC/duplicate-returns-for-tailcall.ll
+++ b/test/CodeGen/PowerPC/duplicate-returns-for-tailcall.ll
@@ -42,10 +42,10 @@ if.end4: ; preds = %if.end
if.then6: ; preds = %if.end4
%call7 = tail call fastcc signext i32 @call3(i32 signext %a, i32 signext %b, i32 signext %c)
br label %return
-; tail calling a fastcc function from a ccc function is supported.
+; No duplication here because the calling convention mismatch means we won't tail-call
; CHECK_LABEL: if.then13:
-; CHECK: %[[T2:[a-zA-Z0-9]+]] = tail call fastcc signext i32 @call3
-; CHECK-NEXT: ret i32 %[[T2]]
+; CHECK: tail call fastcc signext i32 @call3
+; CHECK-NEXT: br
return: ; preds = %if.end4, %if.then6, %if.then2, %if.then
%retval.0 = phi i32 [ %call, %if.then ], [ %call3, %if.then2 ], [ %call7, %if.then6 ], [ %c, %if.end4 ]