diff options
author | Chris Lattner <sabre@nondot.org> | 2007-01-30 23:13:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-01-30 23:13:49 +0000 |
commit | 9fa038dc21e966dceb23f9410351e863e3ce1114 (patch) | |
tree | 7b43b653713f0ae7856a280e0bb0a33cc6079ae4 /lib/Support/Compressor.cpp | |
parent | 73259caa44b03206d1e39e77a7aa375250b1a193 (diff) |
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.
In some cases, switch to using a SmallVector instead of a vector.
This allows us to get rid of some special case gross code that was there
to avoid the cost of constructing a vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33670 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Compressor.cpp')
0 files changed, 0 insertions, 0 deletions