diff options
| author | River Riddle <riverriddle@google.com> | 2019-03-25 11:13:31 -0700 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 17:39:19 -0700 |
| commit | af1abcc80b6eb6de2049b6cc79bbeac92f134e58 (patch) | |
| tree | 7cc496d2b446ac2db877f3574c00f4f61d1d1886 /mlir/lib/Analysis/TestParallelismDetection.cpp | |
| parent | 832567b3799f763ec3ba9480e1628c5a3de7fa6e (diff) | |
| download | bcm5719-llvm-af1abcc80b6eb6de2049b6cc79bbeac92f134e58.tar.gz bcm5719-llvm-af1abcc80b6eb6de2049b6cc79bbeac92f134e58.zip | |
Replace usages of "operator->" with "." for the AffineOps.
Note: The "operator->" method is a temporary helper for the de-const transition and is gradually being phased out.
PiperOrigin-RevId: 240179439
Diffstat (limited to 'mlir/lib/Analysis/TestParallelismDetection.cpp')
| -rw-r--r-- | mlir/lib/Analysis/TestParallelismDetection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Analysis/TestParallelismDetection.cpp b/mlir/lib/Analysis/TestParallelismDetection.cpp index 7ed59b403cd..af112e5b02c 100644 --- a/mlir/lib/Analysis/TestParallelismDetection.cpp +++ b/mlir/lib/Analysis/TestParallelismDetection.cpp @@ -47,7 +47,7 @@ void TestParallelismDetection::runOnFunction() { FuncBuilder b(f); f->walk<AffineForOp>([&](AffineForOp forOp) { if (isLoopParallel(forOp)) - forOp->emitNote("parallel loop"); + forOp.emitNote("parallel loop"); }); } |

