llvm-for-llvmta/test/CodeGen/MIR/AArch64/intrinsics.mir

19 lines
399 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# 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: G_INTRINSIC intrinsic(@llvm.returnaddress)
name: use_intrin
body: |
bb.0:
%0:_(s64) = G_INTRINSIC intrinsic(@llvm.returnaddress)
RET_ReallyLR
...