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 | 17183ab9737ef0e9933486b8138ab6d1e7efb1f7 (patch) | |
tree | dd101b63fc5c15ff5a744e88ad48d5c8633c7c6f /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 411e6a5efb438cad2a455f462e2611529ffab3f2 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52003 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions