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

Tony Varghese via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 11 02:19:59 PDT 2025


================
@@ -11967,9 +11958,8 @@ define <2 x i64> @ugt_1_v2i64(<2 x i64> %0) {
 ; PWR7-NEXT:    addis 3, 2, .LCPI100_0 at toc@ha
 ; PWR7-NEXT:    addi 3, 3, .LCPI100_0 at toc@l
 ; PWR7-NEXT:    xxland 34, 34, 0
-; PWR7-NEXT:    vcmpequw 2, 2, 3
+; PWR7-NEXT:    vcmpgtuw 2, 2, 3
----------------
tonykuttai wrote:

Same as above, please verify if these are equivalent comparisons.

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


More information about the llvm-commits mailing list