[llvm] [PowerPC] Optimize not equal compares against zero vectors (PR #150422)

Amy Kwan via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 3 08:07:20 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
----------------
amy-kwan wrote:

This patch would also need a rebase to include the register naming changes.

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


More information about the llvm-commits mailing list