summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaExprObjC.cpp
diff options
context:
space:
mode:
authorZhou Sheng <zhousheng00@gmail.com>2008-06-05 14:23:44 +0000
committerZhou Sheng <zhousheng00@gmail.com>2008-06-05 14:23:44 +0000
commitfbe1dc240cfb992153239062f0ae3ca3b29dad32 (patch)
tree7aecb523ab8b4cdbaf607d9491266dcadc9cc5dd /clang/lib/Sema/SemaExprObjC.cpp
parent5eef32ba94532ad2bf3e80af1a7518c84dfb72d8 (diff)
downloadbcm5719-llvm-fbe1dc240cfb992153239062f0ae3ca3b29dad32.tar.gz
bcm5719-llvm-fbe1dc240cfb992153239062f0ae3ca3b29dad32.zip
If BitWidth equals to ShtAmt, the RHSKnownZero[BitWidth-ShiftAmt-1] will
crash the opt. Just fix this. Test case in llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll llvm-svn: 52003
Diffstat (limited to 'clang/lib/Sema/SemaExprObjC.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud