Skip to content
Commit bcacef1a authored by River Riddle's avatar River Riddle Committed by jpienaar
Browse files

Add a new dialect hook 'materializeConstant' to create a constant operation...

Add a new dialect hook 'materializeConstant' to create a constant operation that materializes an attribute value with the given type. This effectively adds support for dialect specific constant values that have different invariants than std.constant. 'OperationFolder' is updated to use this new hook, or attempt to default to std.constant when legal.

PiperOrigin-RevId: 254570153
parent 48d6cf1c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment