summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/CondPropagate.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-01 21:51:23 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-01 21:51:23 +0000
commit17797076ef8ba1ceabae32692896badffba65022 (patch)
tree6ac87d800267b3fc9e35d544df562c58bbe0e50b /llvm/lib/Transforms/Scalar/CondPropagate.cpp
parent9c61acc45064bac1fad666021202deef54dddcb5 (diff)
downloadbcm5719-llvm-17797076ef8ba1ceabae32692896badffba65022.tar.gz
bcm5719-llvm-17797076ef8ba1ceabae32692896badffba65022.zip
Use isUnitValue() instead of getZExtValue() == 1 which will prevent an
assert if the ConstantInt's value is large. llvm-svn: 34814
Diffstat (limited to 'llvm/lib/Transforms/Scalar/CondPropagate.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud