1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00
llvm-mirror/test/CodeGen/AArch64/machine-outliner-bad-adrp.mir
Tom Stellard 4aecacb8ce AArch64/test: Add check for function name to machine-outliner-bad-adrp.mir
Summary:
This test was failing in one of our setups because the generated ModuleID
had the full path of the test file and that path contained the string
BL.

Reviewers: t.p.northover, jpaquette, paquette

Reviewed By: paquette

Subscribers: javed.absar, kristof.beyls, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D58217

llvm-svn: 354497
2019-02-20 18:43:45 +00:00

44 lines
1.2 KiB
YAML

# RUN: llc -mtriple=aarch64--- -verify-machineinstrs -simplify-mir -run-pass=machine-outliner %s -o - | FileCheck %s
--- |
define void @foo() #0 {
ret void
}
attributes #0 = { noredzone }
...
---
name: foo
# CHECK-LABEL: name: foo
tracksRegLiveness: true
constants:
- id: 0
value: 'float 1.990000e+02'
alignment: 4
isTargetSpecific: false
body: |
bb.0:
liveins: $w1, $w10, $x14, $x15, $x16, $x10, $lr
; CHECK-NOT: BL
$w10 = MOVZWi 4, 0, implicit-def $x10
renamable $x14 = ADRP target-flags(aarch64-page) %const.0
renamable $x15 = ADRP target-flags(aarch64-page) %const.0
renamable $x16 = ADRP target-flags(aarch64-page) %const.0
$w10 = MOVZWi 5, 0, implicit-def $x10
renamable $x14 = ADRP target-flags(aarch64-page) %const.0
renamable $x15 = ADRP target-flags(aarch64-page) %const.0
renamable $x16 = ADRP target-flags(aarch64-page) %const.0
$w10 = MOVZWi 6, 0, implicit-def $x10
renamable $x14 = ADRP target-flags(aarch64-page) %const.0
renamable $x15 = ADRP target-flags(aarch64-page) %const.0
renamable $x16 = ADRP target-flags(aarch64-page) %const.0
RET undef $lr