| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
Derive HloModulePass and HloModuleGroupPass from HloPassInterface which run module-scoped and module-group-scoped respectively. Replace all existing uses of HloPassInterface with HloModulePass because all existing passes are module-scoped. Also rewrite HloPassPipeline to support both module-scoped and module-group-scoped passes.
PiperOrigin-RevId: 213629604
|
|
|
|
|
|
|
| |
Unfortunately this has to be one big patch, because e.g. absl::StrCat
doesn't accept a TF StringPiece, but as soon as we switch to
absl::string_view, we have to switch away from all of the TF functions.
PiperOrigin-RevId: 209957896
|
|
|
|
| |
PiperOrigin-RevId: 190322644
|
|
|
|
|
|
| |
They don't make sense in the open source repository.
PiperOrigin-RevId: 183140889
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Specifically, if a while loop has tuple element that
- is not used by the while condition, and
- is not used by the while body, except to pass it along to the next
iteration of the loop,
then we can reshape the while loop's computations to eliminate this
tuple element.
PiperOrigin-RevId: 174413683
|
|
This is just code motion, moving this logic out of the
AlgebraicSimplifier. In a future patch we'll add additional
functionality.
PiperOrigin-RevId: 174406161
|