[Mlir-commits] [mlir] [mlir][bytecode] Fix crash when reading DenseIntOrFPElementsAttr with unsupported element type (PR #184773)

Mehdi Amini llvmlistbot at llvm.org
Thu Mar 5 03:29:38 PST 2026


joker-eph wrote:

> Doesn't this mean we are trying to guard against invalid IR by duplicating verification code?

The bytecode is a user-input: you can't assume it is verified. The reader shouldn't crash, even if we fuzz it with invalid bytecode.

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


More information about the Mlir-commits mailing list