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

Optimize the implementation of AffineExprConstantFolder to avoid the redundant...

Optimize the implementation of AffineExprConstantFolder to avoid the redundant creation of IntegerAttrs and IndexType. This becomes a much bigger performance issue when MLIRContext is thread-safe; as each unnecessary call may need to lock a mutex.

PiperOrigin-RevId: 238484632
parent 276fae1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment