Move FindScalarValue from InstructionCombining.cpp to ValueTracking.cpp. While
authorMatthijs Kooijman <matthijs@stdin.nl>
Mon, 16 Jun 2008 12:48:21 +0000 (12:48 +0000)
committerMatthijs Kooijman <matthijs@stdin.nl>
Mon, 16 Jun 2008 12:48:21 +0000 (12:48 +0000)
commitb23d5adbc8230167e711070b9298985de4580f30
tree271363ac8e0893d0dea7fbf4adb02d37e329ac17
parentcdbada613e84bdf9e9c67bb683fc77a60d77cf99
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).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52315 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ValueTracking.h
lib/Analysis/ValueTracking.cpp
lib/Transforms/Scalar/InstructionCombining.cpp