Fix SliceAnalysis comment

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
This commit is contained in:
Nicolas Vasilache 2019-04-16 14:11:25 -07:00 committed by Mehdi Amini
parent b8dc04a005
commit 0fe2f009f2
1 changed files with 1 additions and 1 deletions

View File

@ -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,