1; RUN: llc -verify-machineinstrs -enable-machine-outliner -mtriple=aarch64-linux-gnu < %s | FileCheck %s
2
3; CHECK: OUTLINED_FUNCTION_0:
4; CHECK:      orr     w0, wzr, #0x1
5; CHECK-NEXT: orr     w1, wzr, #0x2
6; CHECK-NEXT: orr     w2, wzr, #0x3
7; CHECK-NEXT: orr     w3, wzr, #0x4
8; CHECK-NEXT: b       z
9
10define void @a() {
11entry:
12  tail call void @z(i32 1, i32 2, i32 3, i32 4)
13  ret void
14}
15
16declare void @z(i32, i32, i32, i32)
17
18define dso_local void @b(i32* nocapture readnone %p) {
19entry:
20  tail call void @z(i32 1, i32 2, i32 3, i32 4)
21  ret void
22}
23