summaryrefslogtreecommitdiffstats
path: root/clang/lib/Analysis/ReachableCode.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-04-02 18:50:58 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-04-02 18:50:58 +0000
commit50a281a871ee64ad76c6c44f4b60b8d47f88f4c3 (patch)
tree2bdb208e12d06b63d708679879c5f1bbd6ee6bba /clang/lib/Analysis/ReachableCode.cpp
parent1473c9a7c484590a842120c0517974ca1d3584b3 (diff)
downloadbcm5719-llvm-50a281a871ee64ad76c6c44f4b60b8d47f88f4c3.tar.gz
bcm5719-llvm-50a281a871ee64ad76c6c44f4b60b8d47f88f4c3.zip
While SimplifyDemandedBits constant folds this, we can't rely on it here.
It's possible to craft an input that hits the recursion limits in a way that SimplifyDemandedBits doesn't simplify the icmp but ComputeMaskedBits can infer which bits are zero. No test case as it depends on too many other things. Fixes PR9609. llvm-svn: 128777
Diffstat (limited to 'clang/lib/Analysis/ReachableCode.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud