llvm-project/llvm/test/CodeGen/MIR/AArch64/intrinsics.mir

19 lines
385 B
Plaintext
Raw Normal View History

# 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
...