llvm-for-llvmta/test/CodeGen/MIR/AArch64/intrinsics.mir
Nils Hölscher 3500bf8dde first commit
2022-04-25 10:02:23 +02:00

19 lines
399 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: G_INTRINSIC intrinsic(@llvm.returnaddress)
name: use_intrin
body: |
bb.0:
%0:_(s64) = G_INTRINSIC intrinsic(@llvm.returnaddress)
RET_ReallyLR
...