[Mlir-commits] [mlir] [MLIR] Validate APInt bitwidth in IntegerAttr::get(Type, APInt) (PR #188725)

Hocky Yudhiono llvmlistbot at llvm.org
Mon Mar 30 01:34:06 PDT 2026


hockyy wrote:

Feeling like cast narrowing is definitely not OK, but cast widening can be handled automatically i guess. Thinking of APInt API(s) are passed from different call sites, bailing out with assert seems to be too aggressive?

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


More information about the Mlir-commits mailing list