brintos

brintos / llvm-project-archived public Read only

0
0
Text · 543 B · 0650f9c Raw
22 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -mtriple=amdgcn -run-pass none -o - %s | FileCheck %s3 4--- |5 6  define amdgpu_kernel void @use_intrin() {7    ret void8  }9 10...11---12# Completely invalid code, but it checks that intrinsics round-trip properly.13name:            use_intrin14registers:15  - { id: 0, class: _ }16body: |17  bb.0:18    ; CHECK-LABEL: name: use_intrin19    ; CHECK: %0:_(s64) = G_INTRINSIC intrinsic(@llvm.amdgcn.sbfe)20    %0(s64) = G_INTRINSIC intrinsic(@llvm.amdgcn.sbfe.i32)21...22