[Mlir-commits] [mlir] [mlir][vectorize] Support affine.apply in SuperVectorize (PR #77968)

Sergei Grechanik llvmlistbot at llvm.org
Fri Feb 2 10:28:20 PST 2024


================
@@ -854,8 +853,8 @@ void VectorizationState::registerValueVectorReplacementImpl(Value replaced,
 /// Example:
 ///   * 'replaced': induction variable of a loop to be vectorized.
 ///   * 'replacement': new induction variable in the new vector loop.
-void VectorizationState::registerValueScalarReplacement(
-    BlockArgument replaced, BlockArgument replacement) {
+void VectorizationState::registerValueScalarReplacement(Value replaced,
+                                                        Value replacement) {
   registerValueScalarReplacementImpl(replaced, replacement);
----------------
sergei-grechanik wrote:

May be worth removing the Impl function since they both have the same signature now.

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


More information about the Mlir-commits mailing list