Files
clang-p2996/mlir/lib/IR/BuiltinAttributes.cpp
Jeremy Kun 04d63088cd [mlir] Add debug messages for failures of isValidIntOrFloat
I have run into assertion failures quite often when calling this method
via `DenseElementsAttr::get`, and I think this would help, at the very
least, by printing out the bit width size mismatches, rather than a
plain assertion failure. I included all the other cases in the method
for completeness
2023-10-18 18:47:06 -07:00

70 KiB