1 # RUN: llc -mtriple=aarch64-unknown-unknown -run-pass=machine-outliner -verify-machineinstrs %s -o - | FileCheck %s
4 define void @foo() #0 { ret void }
5 define void @bar(i32 %a) #0 { ret void }
6 define void @baz(i32 %a) #0 { ret void }
7 attributes #0 = { noredzone noreturn }
11 # Temporarily disable outlining from noreturn functions. To do this, we need
12 # to verify thst every function we want to outline from is noreturn.
14 # CHECK-NOT: OUTLINED_FUNCTION
18 tracksRegLiveness: true
22 machineFunctionInfo: {}
32 tracksRegLiveness: true
36 machineFunctionInfo: {}
46 tracksRegLiveness: true
50 machineFunctionInfo: {}