[flang-commits] [flang] [mlir] [mlir] Handle simple commutative cases in CSE. (PR #75274)
Matthias Springer via flang-commits
flang-commits at lists.llvm.org
Wed Dec 13 20:15:31 PST 2023
================
@@ -696,7 +705,9 @@ llvm::hash_code OperationEquivalence::computeHash(
Region *lhs, Region *rhs,
function_ref<LogicalResult(Value, Value)> checkEquivalent,
function_ref<void(Value, Value)> markEquivalent,
- OperationEquivalence::Flags flags) {
+ OperationEquivalence::Flags flags,
+ function_ref<LogicalResult(ValueRange, ValueRange)>
+ checkCommutativeEquivalent) {
----------------
matthias-springer wrote:
`checkCommutativeEquivalent` is not used in this function.
https://github.com/llvm/llvm-project/pull/75274
More information about the flang-commits
mailing list