[Mlir-commits] [mlir] [mlir][vector] Add more patterns to Vector Linearize transformation (PR #136193)

James Newling llvmlistbot at llvm.org
Mon Apr 21 08:41:23 PDT 2025


================
@@ -27,6 +27,10 @@
 using namespace mlir;
 
 static bool isLessThanTargetBitWidth(Operation *op, unsigned targetBitWidth) {
+  // For BW-0, all operations are legal
+  if (targetBitWidth == 0)
----------------
newling wrote:

`targetBitWidth = std::numeric_limits<unsigned>::max()` is used in places, please consolidate. 

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


More information about the Mlir-commits mailing list