[llvm-commits] [llvm] r119857 - /llvm/trunk/test/Transforms/CodeGenPrepare/phi.ll
Duncan Sands
baldrick at free.fr
Fri Nov 19 23:23:31 PST 2010
>> Add a test for CodeGenPrepare's ability to look through PHI nodes when performing
>> addressing mode folding, introduced in r119853.
>
> I think this should be done by boosting the power of InstructionSimplify
> (see SimplifyPHINode) to use isIdenticalTo instead.
Actually it's not so simple. But as the IR optimizers happily clear this up, I
don't understand why you are doing this in codegen.
Ciao,
Duncan.
More information about the llvm-commits
mailing list