diff options
author | Rahul Joshi <jurahul@google.com> | 2020-11-03 14:31:23 -0800 |
---|---|---|
committer | Rahul Joshi <jurahul@google.com> | 2020-11-03 16:40:46 -0800 |
commit | c298824f9caf407aedeb4958467fb2a18025638d (patch) | |
tree | 461907091466650a01eb94de102547aea0a853ec /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | 7ba393efe5fe861fe2905bb8c09801897fecc128 (diff) | |
download | llvm-c298824f9caf407aedeb4958467fb2a18025638d.zip llvm-c298824f9caf407aedeb4958467fb2a18025638d.tar.gz llvm-c298824f9caf407aedeb4958467fb2a18025638d.tar.bz2 |
[MLIR] Check for duplicate entries in attribute dictionary during custom parsing
- Verify that attributes parsed using a custom parser do not have duplicates.
- If there are duplicated in the attribute dictionary in the input, they get caught during the
dictionary parsing.
- This check verifies that there is no duplication between the parsed dictionary and any
attributes that might be added by the custom parser (or when the custom parsing code
adds duplicate attributes).
- Fixes https://bugs.llvm.org/show_bug.cgi?id=48025
Differential Revision: https://reviews.llvm.org/D90502
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions