1 # NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2 # RUN: llc -mtriple=amdgcn -run-pass none -o - %s | FileCheck %s 3 4 --- | 5 6 define amdgpu_kernel void @use_intrin() { 7 ret void 8 } 9 10 ... 11 --- 12 # Completely invalid code, but it checks that intrinsics round-trip properly. 13 name: use_intrin 14 registers: 15 - { id: 0, class: _ } 16 body: | 17 bb.0: 18 ; CHECK-LABEL: name: use_intrin 19 ; CHECK: %0:_(s64) = G_INTRINSIC intrinsic(@llvm.amdgcn.sbfe) 20 %0(s64) = G_INTRINSIC intrinsic(@llvm.amdgcn.sbfe.i32) 21 ... 22