[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
Fri May 12 16:00:23 PDT 2023


Carrot added a comment.

In D119916#4338288 <https://reviews.llvm.org/D119916#4338288>, @davidxl wrote:

> Can the peephole part stand by itself?

It can, but it's difficult to write a test case for it. At least I need to add X86's FoldImmediate with it together.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119916/new/

https://reviews.llvm.org/D119916



More information about the llvm-commits mailing list