linux-packaging-mono/external/llvm/test/CodeGen/AArch64/GlobalISel/legalize-ignore-non-generic.mir
Xamarin Public Jenkins (auto-signing) 64ac736ec5 Imported Upstream version 6.0.0.172
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
2019-04-12 14:10:50 +00:00

35 lines
756 B
YAML

# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -O0 -run-pass=legalizer -global-isel %s -o - | FileCheck %s
--- |
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
target triple = "aarch64--"
define void @test_copy() { ret void }
define void @test_targetspecific() { ret void }
...
---
name: test_copy
registers:
- { id: 0, class: _ }
body: |
bb.0:
liveins: %x0
; CHECK-LABEL: name: test_copy
; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY %x0
; CHECK: %x0 = COPY [[COPY]](s64)
%0(s64) = COPY %x0
%x0 = COPY %0
...
---
name: test_targetspecific
body: |
bb.0:
; CHECK-LABEL: name: test_targetspecific
; CHECK: RET_ReallyLR
RET_ReallyLR
...