[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
================
@@ -13,8 +13,7 @@ define <16 x i8> @ugt_1_v16i8(<16 x i8> %0) {
; PWR5-NEXT: vaddubm 3, 2, 3
; PWR5-NEXT: vand 2, 2, 3
; PWR5-NEXT: vxor 3, 3, 3
-; PWR5-NEXT: vcmpequb 2, 2, 3
-; PWR5-NEXT: vnot 2, 2
+; PWR5-NEXT: vcmpgtub 2, 2, 3
----------------
tonykuttai wrote:
Are these equivalent instructions?
https://github.com/llvm/llvm-project/pull/150422
More information about the llvm-commits
mailing list