[all-commits] [llvm/llvm-project] c09f1f: [GlobalISel][Tablegen] Fix SameOperandMatcher's is...
Konstantin Schwarz via All-commits
all-commits at lists.llvm.org
Thu Oct 28 04:37:56 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c09f1fc74c9b16ffbfa54827e4739c7576cc890b
https://github.com/llvm/llvm-project/commit/c09f1fc74c9b16ffbfa54827e4739c7576cc890b
Author: Konstantin Schwarz <konstantin.schwarz at hightec-rt.com>
Date: 2021-10-28 (Thu, 28 Oct 2021)
Changed paths:
A llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizerSameOperand-invalid.td
A llvm/test/TableGen/GlobalISelEmitterMatchTableOptimizerSameOperand.td
M llvm/utils/TableGen/GlobalISelEmitter.cpp
Log Message:
-----------
[GlobalISel][Tablegen] Fix SameOperandMatcher's isIdentical check
During rule optimization, identical SameOperandMatchers are hoisted into a common group,
however previously only one operand index was considered.
Commutable patterns can introduce SameOperandMatcher checks where the second index is commuted,
resulting in a different check that cannot be hoisted.
Reviewed By: qcolombet
Differential Revision: https://reviews.llvm.org/D111506
More information about the All-commits
mailing list