aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/while_loop_simplifier.h
Commit message (Collapse)AuthorAge
* Add interface for HLO passes which run on HloModuleGroup.Gravatar Mark Heffernan2018-09-19
| | | | | | 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
* [XLA] Use absl string types and functions instead of the TF versions.Gravatar Justin Lebar2018-08-23
| | | | | | | 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
* Misc typo fixes in the XLA sources and docs.Gravatar Dimitris Vardoulakis2018-03-25
| | | | PiperOrigin-RevId: 190322644
* Remove THIRD_PARTY_ from #include guardsGravatar Sanjoy Das2018-01-24
| | | | | | They don't make sense in the open source repository. PiperOrigin-RevId: 183140889
* [XLA] Add dead tuple elem removal to WhileLoopSimplifier.Gravatar Justin Lebar2017-11-02
| | | | | | | | | | | | | 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
* [XLA] Add WhileLoopSimplifier pass.Gravatar Justin Lebar2017-11-02
This is just code motion, moving this logic out of the AlgebraicSimplifier. In a future patch we'll add additional functionality. PiperOrigin-RevId: 174406161