DenseElementsAttr stores float values as raw bits internally, so creating attributes just to have them unwrapped is extremely inefficient.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
We don't really have any open benchmarks to run at this point which is unfortunate. Though internally this knocked about 17 seconds off of parsing a .mlir blob with a large number of floating point constants.