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 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | 5eef32ba94532ad2bf3e80af1a7518c84dfb72d8 (diff) | |
| download | llvm-fbe1dc240cfb992153239062f0ae3ca3b29dad32.zip llvm-fbe1dc240cfb992153239062f0ae3ca3b29dad32.tar.gz llvm-fbe1dc240cfb992153239062f0ae3ca3b29dad32.tar.bz2 | |
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 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
