llvm-6502/test
Hal Finkel 033e0a94cb 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185955 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-09 18:16:16 +00:00
..
Analysis Add the nearbyint -> FNEARBYINT mapping to BasicTargetTransformInfo 2013-07-08 03:24:07 +00:00
Archive Fix an ordering problem in the test. 2013-06-21 07:23:14 +00:00
Assembler Fix test: It was missing run lines and llvm-dis has no -disable-verify option. 2013-07-03 16:27:55 +00:00
Bindings/Ocaml Convert an OCaml binding grep test to FileCheck 2013-07-08 14:14:22 +00:00
Bitcode
BugPoint
CodeGen Don't crash in SE dealing with ashr x, -1 2013-07-09 18:16:16 +00:00
DebugInfo DebugInfo: Consider global variables without locations to be valid 2013-07-04 23:15:18 +00:00
ExecutionEngine Enable mcjit tests on ppc64 when building with cmake. 2013-06-03 19:17:21 +00:00
Feature
FileCheck Prefix failing commands with not to make clear they are expected to fail. 2013-07-03 16:41:29 +00:00
Instrumentation [msan] Unpoison stack allocations and undef values in blacklisted functions. 2013-07-03 14:39:14 +00:00
Integer
JitListener
Linker
MC [PowerPC] Revert r185476 and fix up TLS variant kinds 2013-07-09 16:41:09 +00:00
Object Don't create an archive if, for example, we are asked to print the index. 2013-07-05 13:03:07 +00:00
Other llvm/test/Other/llvm-cov.test: It requires +Asserts to let XFAILed. 2013-07-08 08:44:24 +00:00
TableGen
tools Revert: Fix wrong code offset for unwind code SET_FPREG. 2013-07-08 04:48:34 +00:00
Transforms ValueTracking: Fix bugs in isKnownToBeAPowerOfTwo 2013-07-09 18:11:10 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt llvm/test/CMakeLists.txt: Add llvm-cov in "check-clang". 2013-07-08 08:44:36 +00:00
lit.cfg Suppress llvm/test/Other/can-execute.txt on msys bash. 2013-06-26 10:56:44 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh