diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-25 05:33:51 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-25 05:33:51 +0000 |
commit | 7177c3a60a1eb48b0d10d31350dea8935d38ee43 (patch) | |
tree | 77d142200023bc8b267ae675d393cbcad63acd8c /lib/CodeGen/MachineModuleInfo.cpp | |
parent | 86c9c341e97a4f08e4984077af57bf106d980db0 (diff) |
Refactor several ConstantExpr::getXXX calls with ConstantInt arguments
using the facilities of APInt. While this duplicates a tiny fraction of
the constant folding code, it also makes the code easier to read and
avoids large ConstantExpr overhead for simple, known computations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35335 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineModuleInfo.cpp')
0 files changed, 0 insertions, 0 deletions