[llvm] [VPlan] Expand simple SCEVs directly to VPInstructions. (PR #189455)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun May 24 12:56:27 PDT 2026


================
@@ -72,6 +72,23 @@ class VPBuilder {
   VPBasicBlock *BB = nullptr;
   VPBasicBlock::iterator InsertPt = VPBasicBlock::iterator();
 
+  /// Lightweight SCEV-to-VPlan expander. Converts SCEVConstant, SCEVUnknown,
+  /// SCEVVScale and SCEVMulExpr into VPInstructions. Other SCEV expressions are
+  /// unsupported.
----------------
fhahn wrote:

done in 0068f46436ba971e936ef15e401a47adaa0b81fd, thanks

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


More information about the llvm-commits mailing list