[PATCH] D59442: Enable Operand Reordering for Commutative Instructions in the FunctionComparator/MergeFunctions
JF Bastien via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 15 17:21:18 PDT 2019
jfb added a comment.
This seems like something that we should canonicalize in general, no? i.e. the function comparator should only compare the canonicalized form (which another pass would ensure), and never expect to see a non-canonical one. I'd much rather make sure something else canonicalizes this than try to merge all permutations.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59442/new/
https://reviews.llvm.org/D59442
More information about the llvm-commits
mailing list