commit | 21e67f6542d291061a5a3a452a3e371a3a04af29 | [log] [tgz] |
---|---|---|
author | Chris Lattner <clattner@google.com> | Fri Jul 06 10:46:19 2018 -0700 |
committer | jpienaar <jpienaar@google.com> | Fri Mar 29 12:29:55 2019 -0700 |
tree | 4c900883a5703deface71b52c3720c3863834c6f | |
parent | df1a2fc9298e76118f75fbf57cb9ca34d41146ce [diff] [blame] |
Implement a simple IR verifier, including support for custom ops adding their own requirements. PiperOrigin-RevId: 203497491
diff --git a/test/IR/parser-errors.mlir b/test/IR/parser-errors.mlir index 897da80..dac3fa6 100644 --- a/test/IR/parser-errors.mlir +++ b/test/IR/parser-errors.mlir
@@ -94,3 +94,10 @@ ; ----- +cfgfunc @malformed_dim() { +bb42: + "dim"(){index: "xyz"} ; expected-error {{'dim' op requires an integer attribute named 'index'}} + return +} + +; -----