[PATCH] D86199: [TableGen][GlobalISel] Fix tblgen optimization bug
Gabriel Hjort Ã…kerlund via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 19 01:06:31 PDT 2020
ehjogab created this revision.
ehjogab added reviewers: dsanders, arsenm, qcolombet, ab.
Herald added subscribers: jfb, rovka.
Herald added a project: LLVM.
ehjogab requested review of this revision.
Herald added a subscriber: wdng.
When optimizing the table, PointerToAnyOperandMatchers would be
incorrectly reported as identical even though they have different
SizeInBits values. This bug was due to failing to overload the
isIdentical() method, which this patch addresses.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D86199
Files:
llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizer.td
llvm/utils/TableGen/GlobalISelEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86199.286500.patch
Type: text/x-patch
Size: 6493 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200819/18e915e0/attachment.bin>
More information about the llvm-commits
mailing list