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 | 80263aadf367ab8f48d55ec916158312ae662992 (patch) | |
tree | 90844591bb4025bdea19a50f356baa4f53432f70 /llvm/lib/VMCore/ConstantFold.cpp | |
parent | 26ad3e7191e9d8a7dc54db020437e9e44a47d54b (diff) | |
download | bcm5719-llvm-80263aadf367ab8f48d55ec916158312ae662992.tar.gz bcm5719-llvm-80263aadf367ab8f48d55ec916158312ae662992.zip |
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.
llvm-svn: 35335
Diffstat (limited to 'llvm/lib/VMCore/ConstantFold.cpp')
0 files changed, 0 insertions, 0 deletions