[mlir][NFC] Refactor eraseState
to take constant time
#160705
This job was skipped
Loading
eraseState
to take constant time
#160705