diff options
author | River Riddle <riddleriver@gmail.com> | 2020-12-04 20:54:23 -0800 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-12-04 21:00:44 -0800 |
commit | 7924fb34f33a76fd3c36f5635dd40990ecd79741 (patch) | |
tree | 91af1eb1a1c8de492abe8d4dcd2e930646722bcc /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 24333481cb23389516d47ef08e967ce833ec82a3 (diff) | |
download | llvm-7924fb34f33a76fd3c36f5635dd40990ecd79741.zip llvm-7924fb34f33a76fd3c36f5635dd40990ecd79741.tar.gz llvm-7924fb34f33a76fd3c36f5635dd40990ecd79741.tar.bz2 |
[mlir][OpFormatGen] Add support for optional enum attributes
The check for formatting enum attributes was missing a call to get the base attribute, which is necessary to strip off the top-level OptionalAttr<> wrapper.
Differential Revision: https://reviews.llvm.org/D92713
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions