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 Add newlines at end of test files, no functionality change 2013-07-13 22:00:58 +00:00
Assembler Update testing cases to make them pass debug info verification. 2013-07-24 01:26:37 +00:00
Bindings/Ocaml Fix %t typo in Ocaml bindings test. 2013-07-10 18:55:06 +00:00
Bitcode Add some uncovered attribute tests 2013-07-17 22:13:44 +00:00
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 Add newlines at end of test files, no functionality change 2013-07-13 22:00:58 +00:00
Feature
FileCheck Add new directive called CHECK-LABEL to FileCheck. 2013-07-12 14:51:05 +00:00
Instrumentation [msan] Unpoison stack allocations and undef values in blacklisted functions. 2013-07-03 14:39:14 +00:00
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 Windows/Path.inc: Introduce file_type::character_file and file_type::fifo_file in sys::fs::getStatus(HANDLE). 2013-07-18 17:00:54 +00:00
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 llvm/test/CMakeLists.txt: Add llvm-cov in "check-clang". 2013-07-08 08:44:36 +00:00
lit.cfg Add the ability to use guarded malloc when running llvm lit tests. 2013-07-11 23:36:57 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh