[llvm] [PowerPC] replace vector compare equal to with vector compare greater than (PR #150422)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 02:33:40 PDT 2025


================
@@ -23,8 +22,7 @@ define <16 x i8> @ugt_1_v16i8(<16 x i8> %0) {
 ; PWR6-NEXT:    vaddubm 3, 2, 3
 ; PWR6-NEXT:    vand 2, 2, 3
 ; PWR6-NEXT:    vxor 3, 3, 3
-; PWR6-NEXT:    vcmpequb 2, 2, 3
-; PWR6-NEXT:    vnot 2, 2
+; PWR6-NEXT:    vcmpgtub 2, 2, 3
----------------
Himadhith wrote:

Same comment as above.

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


More information about the llvm-commits mailing list