[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:32: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
----------------
Himadhith wrote:
verified, they are the equivalent comparisons.
`Vector Compare Equal Unsigned Word VC-form` to `Vector Compare Greater Than Unsigned Word VC-form`
https://github.com/llvm/llvm-project/pull/150422
More information about the llvm-commits
mailing list