diff options
| author | River Riddle <riverriddle@google.com> | 2019-03-25 10:14:34 -0700 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 17:39:03 -0700 |
| commit | 832567b3799f763ec3ba9480e1628c5a3de7fa6e (patch) | |
| tree | e0b890af7d7f1c309399ba282ac2bace75a0b21f /mlir/lib/Analysis/TestParallelismDetection.cpp | |
| parent | 8f5fa566239f88f5b0f3435103b3dc028b0a672a (diff) | |
| download | bcm5719-llvm-832567b3799f763ec3ba9480e1628c5a3de7fa6e.tar.gz bcm5719-llvm-832567b3799f763ec3ba9480e1628c5a3de7fa6e.zip | |
NFC: Rename the 'for' operation in the AffineOps dialect to 'affine.for' and set the namespace of the AffineOps dialect to 'affine'.
PiperOrigin-RevId: 240165792
Diffstat (limited to 'mlir/lib/Analysis/TestParallelismDetection.cpp')
| -rw-r--r-- | mlir/lib/Analysis/TestParallelismDetection.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mlir/lib/Analysis/TestParallelismDetection.cpp b/mlir/lib/Analysis/TestParallelismDetection.cpp index b954f0e67d9..7ed59b403cd 100644 --- a/mlir/lib/Analysis/TestParallelismDetection.cpp +++ b/mlir/lib/Analysis/TestParallelismDetection.cpp @@ -15,7 +15,7 @@ // limitations under the License. // ============================================================================= // -// This file implements a pass to detect parallel affine 'for' ops. +// This file implements a pass to detect parallel affine 'affine.for' ops. // //===----------------------------------------------------------------------===// @@ -40,7 +40,8 @@ FunctionPassBase *mlir::createParallelismDetectionTestPass() { return new TestParallelismDetection(); } -// Walks the function and emits a note for all 'for' ops detected as parallel. +// Walks the function and emits a note for all 'affine.for' ops detected as +// parallel. void TestParallelismDetection::runOnFunction() { Function *f = getFunction(); FuncBuilder b(f); |

