aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorJeff Niu <jeff@modular.com>2022-08-30 12:13:15 -0700
committerJeff Niu <jeff@modular.com>2022-08-30 13:29:25 -0700
commit7a7c0697cd97655dfe017fb7515509f8e39c1270 (patch)
tree6666967eaeefaf1c09df24dee21f8574a8a7243d /clang/lib/Lex/ModuleMap.cpp
parentcec7e80ebd5dafc20974f2554db1b2eb0e2175b7 (diff)
downloadllvm-7a7c0697cd97655dfe017fb7515509f8e39c1270.zip
llvm-7a7c0697cd97655dfe017fb7515509f8e39c1270.tar.gz
llvm-7a7c0697cd97655dfe017fb7515509f8e39c1270.tar.bz2
[mlir] Allow dense array to be parsed with type elision
This patch makes parsing dense arrays with type elision work properly. If a ranked tensor type is supplied to `parseAttribute` on a dense array, the element type is skipped. Moreover, if type elision is set to `AttrTypeElision::Must`, the element type is elided. For example, this allows ``` memref.global @z : memref<3xi32> = array<1, 2, 3> ``` Fixes #57433 Depends on D132758 Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D132964
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions