1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 20:43:44 +02:00
llvm-mirror/test
Ulrich Weigand e19c3de669 [SystemZ] Fix assertion failure in adjustSubwordCmp
When comparing a zero-extended value against a constant small enough to
be in range of the inner type, it doesn't matter whether a signed or
unsigned compare operation (for the outer type) is being used.  This is
why the code in adjustSubwordCmp had this assertion:

    assert(C.ICmpType == SystemZICMP::Any &&
           "Signedness shouldn't matter here.");

assuming the the caller had already detected that fact.  However, it
turns out that there cases, in particular with always-true or always-
false conditions that have not been eliminated when compiling at -O0,
where this is not true.

Instead of failing an assertion if C.ICmpType is not SystemZICMP::Any
here, we can simply *set* it safely to SystemZICMP::Any, however.

llvm-svn: 255786
2015-12-16 18:04:06 +00:00
..
Analysis [X86][SSE] Update the cost table for integer-integer conversions on SSE2/SSE4.1. 2015-12-11 00:31:39 +00:00
Assembler [ConstantFold] Fix bitcast to gep constant folding transform. 2015-12-14 19:30:32 +00:00
Bindings Add InaccessibleMemOnly and inaccessibleMemOrArgMemOnly attributes 2015-12-16 16:16:19 +00:00
Bitcode Add InaccessibleMemOnly and inaccessibleMemOrArgMemOnly attributes 2015-12-16 16:16:19 +00:00
BugPoint
CodeGen [SystemZ] Fix assertion failure in adjustSubwordCmp 2015-12-16 18:04:06 +00:00
DebugInfo Recommit LiveDebugValues pass after fixing a couple of minor issues. 2015-12-16 11:09:48 +00:00
Examples
ExecutionEngine Un-XFAIL JIT EH tests under [am]san. 2015-12-15 23:46:21 +00:00
Feature [MergeFunctions] Use II instead of CI for InvokeInst; NFC 2015-12-14 19:11:45 +00:00
FileCheck
Instrumentation [PGO] make profile prefix even shorter and more readable 2015-12-15 00:32:56 +00:00
Integer
JitListener
LibDriver
Linker Use diagnostic handler in the LLVMContext 2015-12-14 23:17:03 +00:00
LTO Add InaccessibleMemOnly and inaccessibleMemOrArgMemOnly attributes 2015-12-16 16:16:19 +00:00
MC [ARM] Add ARMv8.2-A FP16 vector instructions 2015-12-16 12:37:39 +00:00
Object Stabilize llvm/test/Object/archive-update.test a bit. 2015-12-07 23:15:57 +00:00
Other [llc/opt] Add an option to run all passes twice 2015-12-04 21:56:46 +00:00
SymbolRewriter
TableGen
tools [sancov] blacklist support. 2015-12-16 00:31:48 +00:00
Transforms [NFC] Update horizontal reduction test cases. 2015-12-16 17:22:24 +00:00
Unit
Verifier [IR] Add support for floating pointer atomic loads and stores 2015-12-16 00:49:36 +00:00
YAMLParser
.clang-format
CMakeLists.txt [llvm-dwp] Add missing dependency from llvm tests on the llvm-dwp tool 2015-12-01 00:57:05 +00:00
lit.cfg check-llvm: Introduce the new feature "tls". 2015-12-01 01:14:58 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh