llvm-for-llvmta/test/CodeGen/X86/GlobalISel/x86_64-legalize-fcmp.mir

1127 lines
32 KiB
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer -verify-machineinstrs %s -o - | FileCheck %s
--- |
define i1 @fcmp_float_oeq(float %x, float %y) {
%1 = fcmp oeq float %x, %y
ret i1 %1
}
define i1 @fcmp_float_ogt(float %x, float %y) {
%1 = fcmp ogt float %x, %y
ret i1 %1
}
define i1 @fcmp_float_oge(float %x, float %y) {
%1 = fcmp oge float %x, %y
ret i1 %1
}
define i1 @fcmp_float_olt(float %x, float %y) {
%1 = fcmp olt float %x, %y
ret i1 %1
}
define i1 @fcmp_float_ole(float %x, float %y) {
%1 = fcmp ole float %x, %y
ret i1 %1
}
define i1 @fcmp_float_one(float %x, float %y) {
%1 = fcmp one float %x, %y
ret i1 %1
}
define i1 @fcmp_float_ord(float %x, float %y) {
%1 = fcmp ord float %x, %y
ret i1 %1
}
define i1 @fcmp_float_uno(float %x, float %y) {
%1 = fcmp uno float %x, %y
ret i1 %1
}
define i1 @fcmp_float_ueq(float %x, float %y) {
%1 = fcmp ueq float %x, %y
ret i1 %1
}
define i1 @fcmp_float_ugt(float %x, float %y) {
%1 = fcmp ugt float %x, %y
ret i1 %1
}
define i1 @fcmp_float_uge(float %x, float %y) {
%1 = fcmp uge float %x, %y
ret i1 %1
}
define i1 @fcmp_float_ult(float %x, float %y) {
%1 = fcmp ult float %x, %y
ret i1 %1
}
define i1 @fcmp_float_ule(float %x, float %y) {
%1 = fcmp ule float %x, %y
ret i1 %1
}
define i1 @fcmp_float_une(float %x, float %y) {
%1 = fcmp une float %x, %y
ret i1 %1
}
define i1 @fcmp_double_oeq(double %x, double %y) {
%1 = fcmp oeq double %x, %y
ret i1 %1
}
define i1 @fcmp_double_ogt(double %x, double %y) {
%1 = fcmp ogt double %x, %y
ret i1 %1
}
define i1 @fcmp_double_oge(double %x, double %y) {
%1 = fcmp oge double %x, %y
ret i1 %1
}
define i1 @fcmp_double_olt(double %x, double %y) {
%1 = fcmp olt double %x, %y
ret i1 %1
}
define i1 @fcmp_double_ole(double %x, double %y) {
%1 = fcmp ole double %x, %y
ret i1 %1
}
define i1 @fcmp_double_one(double %x, double %y) {
%1 = fcmp one double %x, %y
ret i1 %1
}
define i1 @fcmp_double_ord(double %x, double %y) {
%1 = fcmp ord double %x, %y
ret i1 %1
}
define i1 @fcmp_double_uno(double %x, double %y) {
%1 = fcmp uno double %x, %y
ret i1 %1
}
define i1 @fcmp_double_ueq(double %x, double %y) {
%1 = fcmp ueq double %x, %y
ret i1 %1
}
define i1 @fcmp_double_ugt(double %x, double %y) {
%1 = fcmp ugt double %x, %y
ret i1 %1
}
define i1 @fcmp_double_uge(double %x, double %y) {
%1 = fcmp uge double %x, %y
ret i1 %1
}
define i1 @fcmp_double_ult(double %x, double %y) {
%1 = fcmp ult double %x, %y
ret i1 %1
}
define i1 @fcmp_double_ule(double %x, double %y) {
%1 = fcmp ule double %x, %y
ret i1 %1
}
define i1 @fcmp_double_une(double %x, double %y) {
%1 = fcmp une double %x, %y
ret i1 %1
}
...
---
name: fcmp_float_oeq
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_oeq
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(oeq), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(oeq), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_ogt
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_ogt
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ogt), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ogt), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_oge
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_oge
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(oge), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(oge), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_olt
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_olt
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(olt), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(olt), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_ole
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_ole
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ole), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ole), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_one
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_one
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(one), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(one), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_ord
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_ord
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ord), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ord), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_uno
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_uno
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(uno), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(uno), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_ueq
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_ueq
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ueq), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ueq), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_ugt
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_ugt
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ugt), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ugt), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_uge
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_uge
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(uge), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(uge), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_ult
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_ult
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ult), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ult), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_ule
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_ule
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ule), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ule), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_float_une
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_float_une
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s32) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s32) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(une), [[TRUNC]](s32), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s32) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s32) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(une), %0(s32), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_oeq
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_oeq
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(oeq), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(oeq), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_ogt
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_ogt
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ogt), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ogt), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_oge
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_oge
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(oge), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(oge), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_olt
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_olt
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(olt), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(olt), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_ole
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_ole
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ole), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ole), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_one
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_one
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(one), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(one), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_ord
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_ord
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ord), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ord), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_uno
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_uno
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(uno), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(uno), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_ueq
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_ueq
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ueq), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ueq), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_ugt
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_ugt
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ugt), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ugt), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_uge
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_uge
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(uge), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(uge), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_ult
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_ult
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ult), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ult), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_ule
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_ule
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(ule), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(ule), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...
---
name: fcmp_double_une
alignment: 16
tracksRegLiveness: true
registers:
- { id: 0, class: _ }
- { id: 1, class: _ }
- { id: 2, class: _ }
- { id: 3, class: _ }
- { id: 4, class: _ }
- { id: 5, class: _ }
body: |
bb.1 (%ir-block.0):
liveins: $xmm0, $xmm1
; CHECK-LABEL: name: fcmp_double_une
; CHECK: liveins: $xmm0, $xmm1
; CHECK: [[COPY:%[0-9]+]]:_(s128) = COPY $xmm0
; CHECK: [[TRUNC:%[0-9]+]]:_(s64) = G_TRUNC [[COPY]](s128)
; CHECK: [[COPY1:%[0-9]+]]:_(s128) = COPY $xmm1
; CHECK: [[TRUNC1:%[0-9]+]]:_(s64) = G_TRUNC [[COPY1]](s128)
; CHECK: [[FCMP:%[0-9]+]]:_(s8) = G_FCMP floatpred(une), [[TRUNC]](s64), [[TRUNC1]]
; CHECK: [[COPY2:%[0-9]+]]:_(s8) = COPY [[FCMP]](s8)
; CHECK: $al = COPY [[COPY2]](s8)
; CHECK: RET 0, implicit $al
%2:_(s128) = COPY $xmm0
%0:_(s64) = G_TRUNC %2(s128)
%3:_(s128) = COPY $xmm1
%1:_(s64) = G_TRUNC %3(s128)
%4:_(s1) = G_FCMP floatpred(une), %0(s64), %1
%5:_(s8) = G_ANYEXT %4(s1)
$al = COPY %5(s8)
RET 0, implicit $al
...