[Mlir-commits] [mlir] [mlir] Add `arith-int-range-narrowing` pass (PR #112404)

Jakub Kuderski llvmlistbot at llvm.org
Wed Oct 16 09:41:06 PDT 2024


================
@@ -184,6 +189,232 @@ struct DeleteTrivialRem : public OpRewritePattern<RemOp> {
   DataFlowSolver &solver;
 };
 
+static Type checkArithType(Type type, unsigned targetBitwidth) {
----------------
kuhar wrote:

This name is not very descriptive. What is being checked and what does it return?

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


More information about the Mlir-commits mailing list