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

Qiu Chaofan via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 30 19:49:50 PDT 2024


================
@@ -182,7 +181,8 @@ define <4 x i1> @abs_isinfv4f32(<4 x float> %x) {
 ; P9-NEXT:    xvabssp 0, 34
 ; P9-NEXT:    addi 3, 3, .LCPI6_0 at toc@l
 ; P9-NEXT:    lxv 1, 0(3)
-; P9-NEXT:    xvcmpeqsp 34, 0, 1
+; P9-NEXT:    xvcmpeqsp 0, 0, 1
----------------
ecnelises wrote:

`isCondCodeLegalOrCustom` not working well here? PPC has `xvcmpeqsp` but no `xvcmpnesp`.

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


More information about the llvm-commits mailing list