[MLIR] Disallow `sym_visibility`, `sym_name` and `type` attributes in the parsed...
authorRahul Joshi <jurahul@google.com>
Thu, 7 Jan 2021 00:32:59 +0000 (16:32 -0800)
committerRahul Joshi <jurahul@google.com>
Tue, 12 Jan 2021 17:11:02 +0000 (09:11 -0800)
commit67a339e96839cdecb5efad0e2731ab20a4ee458e
tree2151b8ec2efaa1d413d727ce430c8dab2503a2e1
parent93b54b7c6733fcb11fd6536499e73872d7452ffb
[MLIR] Disallow `sym_visibility`, `sym_name` and `type` attributes in the parsed attribute dictionary.

Differential Revision: https://reviews.llvm.org/D94200
mlir/lib/IR/FunctionImplementation.cpp
mlir/test/Dialect/Tosa/inlining.mlir
mlir/test/IR/core-ops.mlir
mlir/test/IR/invalid-func-op.mlir