[PATCH] D77455: [mlir][ODS] Add support for variadic regions.
River Riddle via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 4 12:45:47 PDT 2020
rriddle marked 2 inline comments as done.
rriddle added inline comments.
================
Comment at: mlir/test/Dialect/LLVMIR/global.mlir:83
// expected-error @+1 {{'addr_space' failed to satisfy constraint: 32-bit signless integer attribute whose value is non-negative}}
-"llvm.mlir.global"() {sym_name = "foo", type = !llvm.i64, value = 42 : i64, addr_space = 1.0 : f32, linkage = 0} : () -> ()
+"llvm.mlir.global"() ({}) {sym_name = "foo", type = !llvm.i64, value = 42 : i64, addr_space = 1.0 : f32, linkage = 0} : () -> ()
----------------
mehdi_amini wrote:
> Is this a requirement because of the verifier change?
Yes, the number of regions is verified earlier now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77455/new/
https://reviews.llvm.org/D77455
More information about the llvm-commits
mailing list