mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-24 13:33:37 +02:00
dc91ae935f
The previous names were both misleading (the MachineLegalizer actually contained the info tables) and inconsistent with the selector & translator (in having a "Machine") prefix. This should make everything sensible again. The only functional change is the name of a couple of command-line options. llvm-svn: 284287
34 lines
656 B
YAML
34 lines
656 B
YAML
# 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: %0(s64) = COPY %x0
|
|
; CHECK-NEXT: %x0 = COPY %0
|
|
|
|
%0(s64) = COPY %x0
|
|
%x0 = COPY %0
|
|
...
|
|
|
|
---
|
|
name: test_targetspecific
|
|
body: |
|
|
bb.0:
|
|
; CHECK-LABEL: name: test_targetspecific
|
|
; CHECK: RET_ReallyLR
|
|
|
|
RET_ReallyLR
|
|
...
|