llvm-6502/test/CodeGen
Chandler Carruth 14ee003f1a [SDAG] Fix a case where we would iteratively legalize a node during
combining by replacing it with something else but not re-process the
node afterward to remove it.

In a truly remarkable stroke of bad luck, this would (in the test case
attached) end up getting some other node combined into it without ever
getting re-processed. By adding it back on to the worklist, in addition
to deleting the dead nodes more quickly we also ensure that if it
*stops* being dead for any reason it makes it back through the
legalizer. Without this, the test case will end up failing during
instruction selection due to an and node with a type we don't have an
instruction pattern for.

It took many million runs of the shuffle fuzz tester to find this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215611 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-14 01:07:37 +00:00
..
AArch64 [AArch64, fast-isel] Fall back to SelectionDAG to select tail calls. 2014-08-13 23:23:58 +00:00
ARM [FastISel] Let the target decide first if it wants to materialize a constant. 2014-08-13 22:08:02 +00:00
CPP
Generic Use "weak alias" instead of "alias weak" 2014-07-30 22:51:54 +00:00
Hexagon DebugInfo: Assert that any CU for which debug_loc lists are emitted, has at least one range. 2014-08-06 00:21:25 +00:00
Inputs
Mips Add support for scalarizing cttz_zero_undef 2014-08-10 22:49:54 +00:00
MSP430
NVPTX [NVPTX] Add some extra tests for mul.wide to test non-power-of-two source types 2014-07-23 20:23:49 +00:00
PowerPC [FastISel] Let the target decide first if it wants to materialize a constant. 2014-08-13 22:08:02 +00:00
R600 R600: Correctly set the src value offset for scalarized kernel args 2014-08-13 18:14:11 +00:00
SPARC
SystemZ
Thumb [ARM] In dynamic-no-pic mode, ARM's post-RA pseudo expansion was incorrectly 2014-08-02 05:40:40 +00:00
Thumb2 ARM: do not generate BLX instructions on Cortex-M CPUs. 2014-08-06 11:13:14 +00:00
X86 [SDAG] Fix a case where we would iteratively legalize a node during 2014-08-14 01:07:37 +00:00
XCore