diff options
author | Zhou Sheng <zhousheng00@gmail.com> | 2008-06-05 14:23:44 +0000 |
---|---|---|
committer | Zhou Sheng <zhousheng00@gmail.com> | 2008-06-05 14:23:44 +0000 |
commit | fbe1dc240cfb992153239062f0ae3ca3b29dad32 (patch) | |
tree | 7aecb523ab8b4cdbaf607d9491266dcadc9cc5dd /clang/lib/Sema/SemaExprObjC.cpp | |
parent | 5eef32ba94532ad2bf3e80af1a7518c84dfb72d8 (diff) | |
download | bcm5719-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