[llvm] [PowerPC] Optimize not equal compares against zero vectors (PR #150422)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 4 08:56:15 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
----------------
Himadhith wrote:
I did not realize the other files also did not have the options `-ppc-asm-full-reg-names --ppc-vsr-nums-as-vr`. I will do another NFC to include those files as well. The NFC patch above took care of only `llvm/test/CodeGen/PowerPC/check-zero-vector.ll`.
https://github.com/llvm/llvm-project/pull/150422
More information about the llvm-commits
mailing list