mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-03 18:37:56 +00:00

This will be used during GlobalISel, where we need a more robust and readable way to write tests than a simple immediate ID. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@277209 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
385 B
YAML
19 lines
385 B
YAML
# RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass none -o - %s | FileCheck %s
|
|
|
|
--- |
|
|
|
|
define void @use_intrin() {
|
|
ret void
|
|
}
|
|
|
|
...
|
|
---
|
|
# Completely invalid code, but it checks that intrinsics round-trip properly.
|
|
# CHECK: %x0 = COPY intrinsic(@llvm.returnaddress)
|
|
name: use_intrin
|
|
body: |
|
|
bb.0:
|
|
%x0 = COPY intrinsic(@llvm.returnaddress)
|
|
RET_ReallyLR
|
|
...
|