Go to file
Hal Finkel ff666bd962 Don't crash in SE dealing with ashr x, -1
ScalarEvolution::getSignedRange uses ComputeNumSignBits from ValueTracking on
ashr instructions. ComputeNumSignBits can return zero, but this case was not
handled correctly by the code in getSignedRange which was calling:
  APInt::getSignedMinValue(BitWidth).ashr(NS - 1)
with NS = 0, resulting in an assertion failure in APInt::ashr.

Now, we just return the conservative result (as with NS == 1).

Another bug found by llvm-stress.

llvm-svn: 185955
2013-07-09 18:16:16 +00:00
clang ObjC migrator: Add -objcmt-migrate-property to do property 2013-07-09 16:59:14 +00:00
clang-tools-extra cpp11-migrate: Fixes for r185811 2013-07-08 12:49:04 +00:00
compiler-rt [sanitizer] Update glob64 interceptor to handle GLOB_ALTDIRFUNC as well. 2013-07-09 12:34:25 +00:00
debuginfo-tests Now that we get non-trivial value parameters locations correct, un-XFAIL these tests. 2013-06-19 22:07:11 +00:00
libclc Implement mad24() and mul24() builtins 2013-07-08 17:27:13 +00:00
libcxx Bill Fisher: This patch fixes a bug where regex_iterator doesn't indicate when it's restarting in the middle of a string. This bug causes /^a/ to match in the middle of the string "aaaaaaa", during iteration. 2013-07-09 17:29:09 +00:00
libcxxabi Updated CREDITS.TXT 2013-07-02 19:01:59 +00:00
lld [PECOFF][Writer] Compute the size of a chunk each time it's added rather than all at once. 2013-07-09 04:44:18 +00:00
lldb Cleanup in TestConcurrentEvents.py 2013-07-09 17:36:18 +00:00
llvm Don't crash in SE dealing with ashr x, -1 2013-07-09 18:16:16 +00:00
polly scop detection: remove an iteration over all uses 2013-07-05 20:24:47 +00:00