diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-01 21:51:23 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-01 21:51:23 +0000 |
commit | 4da0451821732e20d132e612ba8852a1c6498fab (patch) | |
tree | 18bf1f32ddd0193f02f049a0ca672d011638efe8 /lib/Analysis/ScalarEvolutionExpander.cpp | |
parent | 37eeaa729bc70258166a675ee00bbe95e608d519 (diff) |
Use isUnitValue() instead of getZExtValue() == 1 which will prevent an
assert if the ConstantInt's value is large.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34814 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions