Change constant folding APIs to take an optional TargetData, and change
authorChris Lattner <sabre@nondot.org>
Tue, 30 Jan 2007 23:12:47 +0000 (23:12 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 30 Jan 2007 23:12:47 +0000 (23:12 +0000)
commit73259caa44b03206d1e39e77a7aa375250b1a193
tree09ed54e7fbb353c845d0cc197b7b4178396f379d
parentf08c0eab150eec0f9393423fae4be1262feb7bf2
Change constant folding APIs to take an optional TargetData, and change
ConstantFoldInstOperands/ConstantFoldCall to take a pointer to an array
of operands + size, instead of an std::vector.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33669 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ConstantFolding.h
include/llvm/Transforms/Utils/Local.h