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 2172a5e commit d037089Copy full SHA for d037089
llvm/test/Transforms/InstSimplify/fcmp.ll
@@ -16,3 +16,15 @@ define i1 @poison2(float %x) {
16
%v = fcmp ueq float %x, poison
17
ret i1 %v
18
}
19
+
20
+define i1 @pr130408(x86_fp80 %x) {
21
+; CHECK-LABEL: @pr130408(
22
+; CHECK-NEXT: ret i1 true
23
+;
24
+ %bits = bitcast x86_fp80 %x to i80
25
+ %masked = and i80 %bits, -604444463063240877801473
26
+ %or = or i80 %masked, 302194561415509874573312
27
+ %fp = bitcast i80 %or to x86_fp80
28
+ %res = fcmp uno x86_fp80 %fp, 0xK00000000000000000000
29
+ ret i1 %res
30
+}
0 commit comments