HomePhabricator

[TableGen][GlobalISel] Fix tblgen optimization bug

Authored by ehjogab on Aug 26 2020, 1:48 AM.

Description

[TableGen][GlobalISel] Fix tblgen optimization bug

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.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D86199

Details

Committed
bjopeAug 26 2020, 3:09 AM
Reviewer
arsenm
Differential Revision
D86199: [TableGen][GlobalISel] Fix tblgen optimization bug
Parents
rG99d18f79646c: Reland [IR] Intrinsics default attributes and opt-out flag
Branches
Unknown
Tags
Unknown