diff options
| author | River Riddle <riverriddle@google.com> | 2019-02-04 16:15:13 -0800 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 16:12:40 -0700 |
| commit | c9ad4621ce2d68cad547da360aedeee733b73f32 (patch) | |
| tree | 294e4a0353f053a1015831adc3e56a2d9a4aac5f /mlir/lib/Analysis/AffineStructures.cpp | |
| parent | 0f50414fa4553b1277684cb1dded84b334b35d51 (diff) | |
| download | bcm5719-llvm-c9ad4621ce2d68cad547da360aedeee733b73f32.tar.gz bcm5719-llvm-c9ad4621ce2d68cad547da360aedeee733b73f32.zip | |
NFC: Move AffineApplyOp to the AffineOps dialect. This also moves the isValidDim/isValidSymbol methods from Value to the AffineOps dialect.
PiperOrigin-RevId: 232386632
Diffstat (limited to 'mlir/lib/Analysis/AffineStructures.cpp')
| -rw-r--r-- | mlir/lib/Analysis/AffineStructures.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Analysis/AffineStructures.cpp b/mlir/lib/Analysis/AffineStructures.cpp index 468e79b8545..b764d69c298 100644 --- a/mlir/lib/Analysis/AffineStructures.cpp +++ b/mlir/lib/Analysis/AffineStructures.cpp @@ -1268,7 +1268,7 @@ bool FlatAffineConstraints::addAffineForOpDomain( for (const auto &operand : operands) { unsigned loc; if (!findId(*operand, &loc)) { - if (operand->isValidSymbol()) { + if (isValidSymbol(operand)) { addSymbolId(getNumSymbolIds(), const_cast<Value *>(operand)); loc = getNumDimIds() + getNumSymbolIds() - 1; // Check if the symbol is a constant. |

