From 4aa14dbcc2595aa6a48e59833596f38221faa1a5 Mon Sep 17 00:00:00 2001 From: Jessica Paquette Date: Wed, 28 Mar 2018 17:52:31 +0000 Subject: [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 --- llvm/test/CodeGen/AArch64/machine-outliner-calls.mir | 2 +- llvm/test/CodeGen/AArch64/machine-outliner.mir | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/test/CodeGen') 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 -- cgit v1.2.3