[llvm] [AArch64][SVE] add missing instcombine x+1 -> x (PR #201851)

Tomas Matheson via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 9 07:54:09 PDT 2026


================
@@ -1806,6 +1806,10 @@ static bool isAllActivePredicate(Value *Pred) {
         Pred = UncastedPred;
   }
 
+  if (match(Pred, m_Intrinsic<Intrinsic::aarch64_sve_ptrue>(
+                      m_SpecificInt(AArch64SVEPredPattern::all))))
+    return true;
----------------
tommat01 wrote:

It seems like it wasn't needed, removed.

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


More information about the llvm-commits mailing list