[PATCH] D72394: [mlir] Add skeleton implementation of loop.parallel, loop.yield and loop.yield.return operations.

Nicolas Vasilache via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 22:49:29 PST 2020


nicolasvasilache added inline comments.


================
Comment at: mlir/test/Dialect/Loops/invalid.mlir:130
+  %lb = constant 1.0 : f32 // expected-note {{prior use here}}
+  // expected-error at +1 {{use of value '%lb' expects different type than prior uses: 'index' vs 'f32'}}
+  loop.parallel (%i0) = (%lb) to (%arg0) step (%arg1) {
----------------
Here and below: we usually omit the checks that are automatically tablegen'd.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72394/new/

https://reviews.llvm.org/D72394





More information about the llvm-commits mailing list