diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-02 00:27:06 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-02 00:27:06 +0000 |
commit | 34da0ac28f7bfe737f92d3a098697a6ebc09a25e (patch) | |
tree | b6e0a588f6a595573af38ba309f8c7c1bd84df51 /lib/VMCore/ConstantFold.cpp | |
parent | b45a221348ee8693f1bff2df7b42689497083d41 (diff) |
Add a non-virtual test for zero, isZero, and rename isUnitValue isOne.
These will be used in upcoming patches to avoid virtual function call when
the client knows it is a ConstantInt.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/ConstantFold.cpp')
0 files changed, 0 insertions, 0 deletions