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 bcb9b9f commit 6ba100aCopy full SHA for 6ba100a
llvm/test/Transforms/InstSimplify/floating-point-compare.ll
@@ -999,6 +999,18 @@ define <2 x i1> @known_positive_une_with_negative_constant_splat_vec(<2 x i32> %
999
ret <2 x i1> %cmp
1000
}
1001
1002
+; FIXME: Miscompile.
1003
+define i1 @pr58046(i64 %arg) {
1004
+; CHECK-LABEL: @pr58046(
1005
+; CHECK-NEXT: ret i1 false
1006
+;
1007
+ %fp = uitofp i64 %arg to double
1008
+ %mul = fmul double -0.000000e+00, %fp
1009
+ %div = fdiv double 1.000000e+00, %mul
1010
+ %cmp = fcmp oeq double %div, 0xFFF0000000000000
1011
+ ret i1 %cmp
1012
+}
1013
+
1014
define i1 @nonans1(double %in1, double %in2) {
1015
; CHECK-LABEL: @nonans1(
1016
; CHECK-NEXT: ret i1 false
0 commit comments