diff options
author | Alex Zinenko <zinenko@google.com> | 2024-01-04 09:45:30 +0000 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2024-01-04 09:49:34 +0000 |
commit | 985bb3a20a788b3cda3256084fbdef20296ba8cb (patch) | |
tree | 494996a17f5e4e278a25422f74bc6c8648be3636 /llvm/lib/CodeGen/TargetLoweringBase.cpp | |
parent | 26993f61673e3d9b29785f9baa5bac50c09f8bcf (diff) | |
download | llvm-985bb3a20a788b3cda3256084fbdef20296ba8cb.zip llvm-985bb3a20a788b3cda3256084fbdef20296ba8cb.tar.gz llvm-985bb3a20a788b3cda3256084fbdef20296ba8cb.tar.bz2 |
[mlir] fix bytecode writer after c1eab57673ef3eb28
The change in c1eab57 fixed the
behavior of `getDiscardableAttrDictionary` for ops that are not using
properties to only return discardable attributes. Bytecode writer was
relying on the wrong behavior and would assume all attributes are
discardable, without appropriate testing. Fix that and add a test.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringBase.cpp')
0 files changed, 0 insertions, 0 deletions