summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MIR/AArch64/intrinsics.mir
blob: b158c21b00ea0c25bb007982c96df4072c390b69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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
...
OpenPOWER on IntegriCloud