[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
Sun Aug 17 23:02:50 PDT 2025
================
@@ -4570,6 +4570,16 @@ bool PPCDAGToDAGISel::trySETCC(SDNode *N) {
if (Subtarget->hasSPE())
return false;
+ // Optimise Not equal to zero-vector comparisons using Greater than or less
+ // than operators. Example: Consider k to be any non-zero positive value.
----------------
tonykuttai wrote:
```suggestion
// than' operators. Example: Consider k to be any non-zero positive value.
```
https://github.com/llvm/llvm-project/pull/150422
More information about the llvm-commits
mailing list