[llvm] DAG: Handle lowering unordered compare with inf (PR #100378)

Chen Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 18:52:13 PDT 2024


================
@@ -117,10 +117,12 @@ define i1 @isinf_float(float %x) nounwind {
 define i1 @isinf_ppc_fp128(ppc_fp128 %x) nounwind {
 ; CHECK-LABEL: isinf_ppc_fp128:
 ; CHECK:       # %bb.0:
-; CHECK-NEXT:    xststdcdp 0, 1, 48
-; CHECK-NEXT:    li 3, 0
-; CHECK-NEXT:    li 4, 1
-; CHECK-NEXT:    iseleq 3, 4, 3
+; CHECK-NEXT:    addis 3, 2, .LCPI9_0 at toc@ha
----------------
chenzheng1030 wrote:

This becomes worse for sure.

https://github.com/llvm/llvm-project/pull/100378


More information about the llvm-commits mailing list