diff options
author | Robert Lougher <rob.lougher@gmail.com> | 2019-03-19 20:54:20 +0000 |
---|---|---|
committer | Robert Lougher <rob.lougher@gmail.com> | 2019-03-19 20:54:20 +0000 |
commit | c67a759c99346afaaf3df16c5099dc0a73e412eb (patch) | |
tree | 52c5975b0eb3070ed1f8c786f3b4c1ae47d2151f /llvm/test | |
parent | 02d5fb1a6efb96706ca781c6a50624d0e0d7b842 (diff) | |
download | bcm5719-llvm-c67a759c99346afaaf3df16c5099dc0a73e412eb.tar.gz bcm5719-llvm-c67a759c99346afaaf3df16c5099dc0a73e412eb.zip |
Revert r356511 "[TailCallElim] Add tailcall elimination pass to LTO pipelines"
Due to buildbot failures (LLD tests).
llvm-svn: 356516
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/LTO/X86/tailcallelim.ll | 22 | ||||
-rw-r--r-- | llvm/test/Other/new-pm-lto-defaults.ll | 1 |
2 files changed, 0 insertions, 23 deletions
diff --git a/llvm/test/LTO/X86/tailcallelim.ll b/llvm/test/LTO/X86/tailcallelim.ll deleted file mode 100644 index 2c3a9b52fa9..00000000000 --- a/llvm/test/LTO/X86/tailcallelim.ll +++ /dev/null @@ -1,22 +0,0 @@ -; Check that the LTO pipelines add the Tail Call Elimination pass. - -; RUN: llvm-as < %s > %t1 -; RUN: llvm-lto -o %t2 %t1 --exported-symbol=foo -save-merged-module -; RUN: llvm-dis < %t2.merged.bc | FileCheck %s - -; RUN: llvm-lto2 run -r %t1,foo,plx -r %t1,bar,plx -o %t3 %t1 -save-temps -; RUN: llvm-dis < %t3.0.4.opt.bc | FileCheck %s - -; RUN: llvm-lto2 run -r %t1,foo,plx -r %t1,bar,plx -o %t4 %t1 -save-temps -use-new-pm -; RUN: llvm-dis < %t4.0.4.opt.bc | FileCheck %s - -target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" -target triple = "x86_64-unknown-linux-gnu" - -define void @foo() { -; CHECK: tail call void @bar() - call void @bar() - ret void -} - -declare void @bar() diff --git a/llvm/test/Other/new-pm-lto-defaults.ll b/llvm/test/Other/new-pm-lto-defaults.ll index a3eaa1e856a..ee2f0414e62 100644 --- a/llvm/test/Other/new-pm-lto-defaults.ll +++ b/llvm/test/Other/new-pm-lto-defaults.ll @@ -81,7 +81,6 @@ ; CHECK-O2-NEXT: Running pass: JumpThreadingPass ; CHECK-O2-NEXT: Running analysis: LazyValueAnalysis ; CHECK-O2-NEXT: Running pass: SROA on foo -; CHECK-O2-NEXT: Running pass: TailCallElimPass on foo ; CHECK-O2-NEXT: Finished llvm::Function pass manager run. ; CHECK-O2-NEXT: Running pass: ModuleToPostOrderCGSCCPassAdaptor<{{.*}}PostOrderFunctionAttrsPass> ; CHECK-O2-NEXT: Running pass: ModuleToFunctionPassAdaptor<{{.*}}PassManager{{.*}}> |