[all-commits] [llvm/llvm-project] ace9b6: [NewGVN] Canonicalize expressions for commutative ...
ManuelJBrito via All-commits
all-commits at lists.llvm.org
Sun Jul 16 09:25:25 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ace9b6bbf5e25d8acd1c467dd4f7995e79bfe4c5
https://github.com/llvm/llvm-project/commit/ace9b6bbf5e25d8acd1c467dd4f7995e79bfe4c5
Author: ManuelJBrito <manuel.brito at tecnico.ulisboa.pt>
Date: 2023-07-16 (Sun, 16 Jul 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/NewGVN.cpp
M llvm/test/Transforms/NewGVN/commute.ll
Log Message:
-----------
[NewGVN] Canonicalize expressions for commutative intrinsics
Ensure that commutative intrinsics that only differ by a permutation
of their operands get the same value number by sorting the operand value
numbers.
Fixes https://github.com/llvm/llvm-project/issues/46753
Differential Revision: https://reviews.llvm.org/D155309
More information about the All-commits
mailing list