llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptosi.mir

15 lines
401 B
YAML

# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=amdgcn-mesa-mesa3d -mcpu=fiji -run-pass=legalizer %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
...