llvm.org GIT mirror llvm / 95f12eb test / CodeGen / AMDGPU / GlobalISel / legalize-fptosi.mir
95f12eb

Tree @95f12eb (Download .tar.gz)

legalize-fptosi.mir @95f12ebraw · history · blame

# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=fiji -run-pass=legalizer -global-isel %s -o - | FileCheck %s

---
name: test_fptosi_f32_to_i32
body: |
  bb.0:
    liveins: $vgpr0

    ; CHECK-LABEL: name: test_fptosi_f32_to_i32
    ; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $vgpr0
    %0:_(s32) = COPY $vgpr0
    %1:_(s32) = G_FPTOSI %0
...