We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a461c83 commit 2c09b5cCopy full SHA for 2c09b5c
llvm/test/Transforms/InstCombine/minmax-fp.ll
@@ -160,8 +160,7 @@ define i8 @t9(float %a) {
160
; Either operand could be NaN, but fast modifier applied.
161
define i8 @t11(float %a, float %b) {
162
; CHECK-LABEL: @t11(
163
-; CHECK-NEXT: [[DOTINV:%.*]] = fcmp fast oge float [[B:%.*]], [[A:%.*]]
164
-; CHECK-NEXT: [[DOTV:%.*]] = select nnan ninf i1 [[DOTINV]], float [[A]], float [[B]]
+; CHECK-NEXT: [[DOTV:%.*]] = call nnan ninf float @llvm.minnum.f32(float [[B:%.*]], float [[A:%.*]])
165
; CHECK-NEXT: [[TMP1:%.*]] = fptosi float [[DOTV]] to i8
166
; CHECK-NEXT: ret i8 [[TMP1]]
167
;
0 commit comments