[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
Loading
Please sign in to comment