[PATCH] D116058: [InstCombine] Convert binop(phi, v) to phi(binop) for constant phi operands
Guozhi Wei via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 21 12:30:33 PST 2021
Carrot added a comment.
In D116058#3204290 <https://reviews.llvm.org/D116058#3204290>, @lebedev.ri wrote:
>> immediate materialization instructions
>
> There is no such thing in IR, so this sounds like it should be a back-end backtransform?
Although it is not explicitly expressed in LLVM IR, it must be setup in predecessors later.
Back end transformation should also be doable, but is it worth a new back end pass?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116058/new/
https://reviews.llvm.org/D116058
More information about the llvm-commits
mailing list