llvm.org GIT mirror llvm / release_70 test / CodeGen / AMDGPU / GlobalISel / legalize-sitofp.mir
release_70

Tree @release_70 (Download .tar.gz)

legalize-sitofp.mir @release_70

20f413f
 
 
 
 
 
 
 
 
 
 
 
 
 
# 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_sitofp_f32_to_i32
body: |
  bb.0:
    liveins: $vgpr0

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