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

Add new 'createOrFold' methods to FuncBuilder to immediately try to fold an...

Add new 'createOrFold' methods to FuncBuilder to immediately try to fold an operation after creating it. This can be used to remove operations that are likely to be trivially folded later. Note, these functions only fold operations if all of the folded results are existing values.

PiperOrigin-RevId: 251674299
parent 9fc00cf8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment