[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / CodeGen / MIR / AArch64 / intrinsics.mir
blob8707975442c4938ff3bb058c2b083d2d48ef6a3b
1 # RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass none -o - %s | FileCheck %s
3 --- |
5   define void @use_intrin() {
6     ret void
7   }
9 ...
10 ---
11 # Completely invalid code, but it checks that intrinsics round-trip properly.
12 # CHECK: G_INTRINSIC intrinsic(@llvm.returnaddress)
13 name:            use_intrin
14 body: |
15   bb.0:
16     %0:_(s64) = G_INTRINSIC intrinsic(@llvm.returnaddress)
17     RET_ReallyLR
18 ...