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

Lei Huang via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 29 08:48:07 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
----------------
lei137 wrote:

I think the relationships here would be easier to see if these tests generates the full register naming so it's obvious 2 & 34 are the same registers.  Please do an NFC update for these tests to add the options ` -ppc-asm-full-reg-names --ppc-vsr-nums-as-vr` to the run lines.

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


More information about the llvm-commits mailing list