[llvm-commits] [llvm] r52315 - in /llvm/trunk: include/llvm/Analysis/ValueTracking.h lib/Analysis/ValueTracking.cpp lib/Transforms/Scalar/InstructionCombining.cpp

Chris Lattner clattner at apple.com
Mon Jun 23 11:10:03 PDT 2008


On Jun 16, 2008, at 5:48 AM, Matthijs Kooijman wrote:

> Author: matthijs
> Date: Mon Jun 16 07:48:21 2008
> New Revision: 52315
>
> URL: http://llvm.org/viewvc/llvm-project?rev=52315&view=rev
> Log:
> Move FindScalarValue from InstructionCombining.cpp to  
> ValueTracking.cpp. While
> I'm at it, rename it to FindInsertedValue.
>
> The only functional change is that newly created instructions are no  
> longer
> added to instcombine's worklist, but that is not really necessary  
> anyway (and
> I'll commit some improvements next that will completely remove the  
> need).

Can't passes just insert a new ExtractValueInst and expect instcombine  
to simplify stuff away?

-Chris




More information about the llvm-commits mailing list