[Mlir-commits] [mlir] [mlir][vector] Skip uniform vectorization for non scalar type (PR #128294)
Kai Sasaki
llvmlistbot at llvm.org
Sat Feb 22 00:05:10 PST 2025
================
@@ -1106,6 +1106,10 @@ static bool isUniformDefinition(Value value,
if (!loop.isDefinedOutsideOfLoop(value))
return false;
}
+
+ if (!isa<IndexType, IntegerType, FloatType>(value.getType()))
----------------
Lewuathe wrote:
I didn't know that utility function. I'll use it. Thanks!
https://github.com/llvm/llvm-project/pull/128294
More information about the Mlir-commits
mailing list