Skip to content
Commit d4491084 authored by River Riddle's avatar River Riddle Committed by Mehdi Amini
Browse files

Change a call to FloatAttr::getChecked to FloatAttr::get inside of...

Change a call to FloatAttr::getChecked to FloatAttr::get inside of 'parseFloatAttr'. The invariants of FloatAttr are already checked before construction. This also removes an unnecessary materialization of a mlir::Location which becomes expensive when parsing dense element literals.

PiperOrigin-RevId: 252545776
parent 65c94470
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment