llvm/test/CodeGen
Ulrich Weigand 328f32455c [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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255786 91177308-0d34-0410-b5e6-96231b3b80d8
2015-12-16 18:04:06 +00:00
..
AArch64 [DAGCombiner] Fix PR25763 - vector comparison constant folding + sign-extension 2015-12-10 19:47:06 +00:00
AMDGPU AMDGPU/SI: Set the code object work group segment size when targeting HSA 2015-12-15 23:15:25 +00:00
ARM Improve the successor list update in TailDuplication.cpp. 2015-12-15 10:10:40 +00:00
BPF Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
CPP
Generic Move llvm/test/CodeGen/Generic/function-alias.ll to X86. It is incompatible to PECOFF. 2015-12-04 02:00:12 +00:00
Hexagon [Hexagon] Make memcpy lowering thread-safe 2015-12-16 17:29:37 +00:00
Inputs DI: Reverse direction of subprogram -> function edge. 2015-11-05 22:03:56 +00:00
Mips AsmPrinter: Use emitGlobalConstantFP to emit elements of constant data 2015-12-08 02:37:48 +00:00
MIR Replace all weight-based interfaces in MBB with probability-based interfaces, and update all uses of old interfaces. 2015-12-01 05:29:22 +00:00
MSP430 Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
NVPTX Have a single way for creating unique value names. 2015-11-22 00:16:24 +00:00
PowerPC Bitcasts between FP and INT values using direct moves 2015-12-15 14:50:34 +00:00
SPARC [Sparc] Fix handling of double incoming arguments on sparc little-endian. 2015-12-15 19:23:12 +00:00
SystemZ [SystemZ] Fix assertion failure in adjustSubwordCmp 2015-12-16 18:04:06 +00:00
Thumb Fix ARMv4T (Thumb1) epilogue generation 2015-12-08 19:59:01 +00:00
Thumb2 Fix test case label check 2015-11-20 20:24:49 +00:00
WebAssembly [WebAssembly] Support more kinds of inline asm operands 2015-12-16 17:15:17 +00:00
WinEH [WinEH] Use operand bundles to describe call sites 2015-12-15 21:27:27 +00:00
X86 [X86] Improve shift combining 2015-12-16 11:22:37 +00:00
XCore Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00