llvm-6502/test
Chandler Carruth 9b3b286247 Fix PR16687 where we were incorrectly promoting an alloca that had
pending speculation for a phi node. The problem here is that we were
using growth of the specluation set as an indicator of whether
speculation would occur, and if the phi node is already in the set we
don't see it grow. This is a symptom of the fact that this signal is
a total hack.

Unfortunately, I couldn't really come up with a non-hacky way of
signaling that promotion remains valid *after* speculation occurs, such
that we only speculate when all else looks good for promotion. In the
end, I went with at least a much more explicit approach of doing the
work of queuing inside the phi and select processing and setting
a preposterously named flag to convey that we're in the special state of
requiring speculating before promotion.

Thanks to Richard Trieu and Nick Lewycky for the excellent work reducing
a testcase for this from a pretty giant, nasty assert in a big
application. =] The testcase was excellent.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187029 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-24 09:47:28 +00:00
..
Analysis
Assembler Update testing cases to make them pass debug info verification. 2013-07-24 01:26:37 +00:00
Bindings/Ocaml
Bitcode
BugPoint
CodeGen Update testing cases to make them pass debug info verification. 2013-07-24 01:26:37 +00:00
DebugInfo Debug Info: improve the Finder. 2013-07-23 23:10:00 +00:00
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker Debug Info: improve the Finder. 2013-07-23 23:10:00 +00:00
MC Add not so that these tests pass with pipefail enabled. 2013-07-23 13:18:20 +00:00
Object Add an initial implementation of archive symbol table generation. 2013-07-23 10:47:01 +00:00
Other
TableGen
tools Retry submitting r186623: COFFDumper: Dump data directory entries. 2013-07-19 23:23:29 +00:00
Transforms Fix PR16687 where we were incorrectly promoting an alloca that had 2013-07-24 09:47:28 +00:00
Unit
Verifier Fix typo in test. 2013-07-22 21:10:42 +00:00
YAMLParser
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh