summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2018-03-28 17:52:31 +0000
committerJessica Paquette <jpaquette@apple.com>2018-03-28 17:52:31 +0000
commit4aa14dbcc2595aa6a48e59833596f38221faa1a5 (patch)
treea275ab997f6ee05b837f9196edc95c9a3a227b99 /llvm/test
parentc133b1e3878920626cc74801b00f6d7e5d7fe25b (diff)
downloadbcm5719-llvm-4aa14dbcc2595aa6a48e59833596f38221faa1a5.tar.gz
bcm5719-llvm-4aa14dbcc2595aa6a48e59833596f38221faa1a5.zip
[MachineOutliner] Simplify call outlining + require valid callee save info for call outlining
This commit simplifies the call outlining logic by removing references to the Function associated with the callee. To do this, it requires that valid callee save info is available to the outliner. llvm-svn: 328719
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/AArch64/machine-outliner-calls.mir2
-rw-r--r--llvm/test/CodeGen/AArch64/machine-outliner.mir2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/AArch64/machine-outliner-calls.mir b/llvm/test/CodeGen/AArch64/machine-outliner-calls.mir
index d47d96e7b99..41010d87cb8 100644
--- a/llvm/test/CodeGen/AArch64/machine-outliner-calls.mir
+++ b/llvm/test/CodeGen/AArch64/machine-outliner-calls.mir
@@ -1,4 +1,4 @@
-# RUN: llc -simplify-mir -mtriple=aarch64--- -run-pass=machine-outliner -verify-machineinstrs %s -o - | FileCheck %s
+# RUN: llc -mtriple=aarch64--- -run-pass=prologepilog -run-pass=machine-outliner -verify-machineinstrs %s -o - | FileCheck %s
--- |
define void @baz() #0 {
ret void
diff --git a/llvm/test/CodeGen/AArch64/machine-outliner.mir b/llvm/test/CodeGen/AArch64/machine-outliner.mir
index 79d0ed2d070..d59dd12502a 100644
--- a/llvm/test/CodeGen/AArch64/machine-outliner.mir
+++ b/llvm/test/CodeGen/AArch64/machine-outliner.mir
@@ -1,4 +1,4 @@
-# RUN: llc -mtriple=aarch64--- -run-pass=machine-outliner -verify-machineinstrs %s -o - | FileCheck %s
+# RUN: llc -mtriple=aarch64--- -run-pass=prologepilog -run-pass=machine-outliner -verify-machineinstrs %s -o - | FileCheck %s
--- |
@x = common global i32 0, align 4
OpenPOWER on IntegriCloud