llvm.org GIT mirror llvm / release_70 test / CodeGen / AMDGPU / GlobalISel / regbankselect-amdgcn.kernarg.segment.ptr.mir
release_70

Tree @release_70 (Download .tar.gz)

regbankselect-amdgcn.kernarg.segment.ptr.mir @release_70raw · history · blame

# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-fast | FileCheck %s
# RUN: llc -march=amdgcn -mcpu=fiji -run-pass=regbankselect %s -verify-machineinstrs -o - -regbankselect-greedy | FileCheck %s

---
name: kernarg_segment_ptr
legalized: true

body: |
  bb.0:
    ; CHECK-LABEL: name: kernarg_segment_ptr
    ; CHECK: [[INT:%[0-9]+]]:sgpr(p4) = G_INTRINSIC intrinsic(@llvm.amdgcn.kernarg.segment.ptr)
    %2:_(p4) = G_INTRINSIC intrinsic(@llvm.amdgcn.kernarg.segment.ptr)
...