[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:28:46 PDT 2025


================
@@ -4570,6 +4570,16 @@ bool PPCDAGToDAGISel::trySETCC(SDNode *N) {
     if (Subtarget->hasSPE())
       return false;
 
+    // To optimize zero-vector comparisons and avoid the extra step of negation,
----------------
Himadhith wrote:

done

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


More information about the llvm-commits mailing list