[PATCH] D119916: Add a machine function pass to convert binop(phi(constants), v) to phi(binop)
Guozhi Wei via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 11 19:51:22 PDT 2023
Carrot added a comment.
Hi Quentin, thank you for your help! This optimization is still relevant to us.
This optimization calls target function FoldImmediate, it is also called by peephole optimization. X86 didn't implement it previously. After adding this function, it impacts peephole at the same time, some of them are regressions, so I changed peephole to avoid them.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119916/new/
https://reviews.llvm.org/D119916
More information about the llvm-commits
mailing list