Skip to content

Commit f7a615a

Browse files
committed
ValueTracking: Use correct compare type in test
1 parent 7cedbfc commit f7a615a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/Transforms/Attributor/nofpclass-implied-by-fcmp.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,11 +690,11 @@ define float @clamp_ule_largest_denormal_0.0(float %arg) {
690690
define float @clamp_ogt_largest_denormal_0.0(float %arg) {
691691
; CHECK-LABEL: define float @clamp_ogt_largest_denormal_0.0(
692692
; CHECK-SAME: float [[ARG:%.*]]) #[[ATTR2]] {
693-
; CHECK-NEXT: [[IS_OGT_LARGEST_DENORMAL:%.*]] = fcmp ugt float [[ARG]], 0x380FFFFFC0000000
693+
; CHECK-NEXT: [[IS_OGT_LARGEST_DENORMAL:%.*]] = fcmp ogt float [[ARG]], 0x380FFFFFC0000000
694694
; CHECK-NEXT: [[SELECT:%.*]] = select i1 [[IS_OGT_LARGEST_DENORMAL]], float [[ARG]], float 0.000000e+00
695695
; CHECK-NEXT: ret float [[SELECT]]
696696
;
697-
%is.ogt.largest.denormal = fcmp ugt float %arg, 0x380FFFFFC0000000
697+
%is.ogt.largest.denormal = fcmp ogt float %arg, 0x380FFFFFC0000000
698698
%select = select i1 %is.ogt.largest.denormal, float %arg, float 0.0
699699
ret float %select
700700
}

0 commit comments

Comments
 (0)