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/Utils.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/Utils.cpp')
| -rw-r--r-- | mlir/lib/Analysis/Utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Analysis/Utils.cpp b/mlir/lib/Analysis/Utils.cpp index d27715333c8..9f5fd65e774 100644 --- a/mlir/lib/Analysis/Utils.cpp +++ b/mlir/lib/Analysis/Utils.cpp @@ -168,7 +168,7 @@ bool MemRefRegion::compute(Instruction *inst, unsigned loopDepth) { } else { // Has to be a valid symbol. auto *symbol = accessValueMap.getOperand(i); - assert(symbol->isValidSymbol()); + assert(isValidSymbol(symbol)); // Check if the symbol is a constant. if (auto *inst = symbol->getDefiningInst()) { if (auto constOp = inst->dyn_cast<ConstantIndexOp>()) { |

