Dan Zheng
a88bd15815
[AutoDiff] Remove raw_ostream & argument from IndexSubset::dump. ( #31675 )
...
Remove `llvm::raw_ostream &` argument so that `IndexSubset::dump` can be called
in lldb without issue.
2020-05-09 11:18:40 -07:00
Michael Forster
fae87c96d7
Move interleave(...) to the llvm namespace
...
This simplifies fixing the master-next build. Upstream LLVM already
has a copy of this function, so on master-next we only need to delete
the Swift copy, reducing the potential for merge conflicts.
2020-04-17 11:20:50 +02:00
Robert Widmann
1c156dba8f
[Gardening] Remove tautological comparison
2020-02-08 10:41:44 -08:00
Dan Zheng
b826b3cc04
[AST] Fix bug in IndexSubset::findPrevious. ( #29675 )
...
Fix incorrect loop decrement in `IndexSubset::findPrevious`
Add unit tests.
2020-02-06 14:24:00 -08:00
Dan Zheng
63ce61b9aa
[AutoDiff] NFC: Use consistent headers for IndexSubset.{h,cpp}.
...
Left-align headers. Use consistent message. Use accurate year in copyright.
2019-12-12 14:23:28 -08:00
Dan Zheng
7b5dfd6cf6
[AutoDiff upstream] NFC: update IndexSubset print/dump utilities. ( #27775 )
...
Cherry-pick #27772 from tensorflow branch.
2019-10-18 14:01:28 -07:00
Richard Wei
9765858d31
Rename to 'IndexSubset' and move it to its own file.
2019-10-11 13:07:53 -07:00