1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py 2# RUN: llc -march=amdgcn -mcpu=fiji -run-pass=legalizer %s -o - | FileCheck %s 3 4--- 5name: test_fcmp_f32 6registers: 7 - { id: 0, class: _ } 8 - { id: 1, class: _ } 9 - { id: 2, class: _ } 10body: | 11 bb.0: 12 liveins: $vgpr0 13 ; CHECK-LABEL: name: test_fcmp_f32 14 ; CHECK: [[COPY:%[0-9]+]]:_(s32) = COPY $vgpr0 15 %0(s32) = G_CONSTANT i32 0 16 %1(s32) = COPY $vgpr0 17 18 %2(s1) = G_FCMP floatpred(uge), %0, %1 19... 20--- 21name: test_fcmp_f64 22registers: 23 - { id: 0, class: _ } 24 - { id: 1, class: _ } 25 - { id: 2, class: _ } 26body: | 27 bb.0: 28 liveins: $vgpr0_vgpr1 29 ; CHECK-LABEL: name: test_fcmp_f64 30 ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $vgpr0_vgpr1 31 %0(s64) = G_CONSTANT i64 0 32 %1(s64) = COPY $vgpr0_vgpr1 33 34 %2(s1) = G_FCMP floatpred(uge), %0, %1 35... 36