projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8dc04a
)
Fix SliceAnalysis comment
author
Nicolas Vasilache
<ntv@google.com>
Tue, 16 Apr 2019 21:11:25 +0000
(14:11 -0700)
committer
Mehdi Amini
<joker.eph@gmail.com>
Thu, 18 Apr 2019 18:48:50 +0000
(11:48 -0700)
The description of the backward slice analysis behavior describes what would happen when creating a backward slice from node 9, not 8.
--
PiperOrigin-RevId:
243876599
mlir/include/mlir/Analysis/SliceAnalysis.h
patch
|
blob
|
history
diff --git
a/mlir/include/mlir/Analysis/SliceAnalysis.h
b/mlir/include/mlir/Analysis/SliceAnalysis.h
index
c76f0b2
..
fec79cd
100644
(file)
--- a/
mlir/include/mlir/Analysis/SliceAnalysis.h
+++ b/
mlir/include/mlir/Analysis/SliceAnalysis.h
@@
-113,7
+113,7
@@
void getForwardSlice(
/// 9
///
/// Assuming all local orders match the numbering order:
-/// {1, 2, 5,
7, 3, 4, 6, 8
}
+/// {1, 2, 5,
3, 4, 6
}
///
void getBackwardSlice(
Operation *op, llvm::SetVector<Operation *> *backwardSlice,