llvm-project/llvm/unittests
Alina Sbirlea 33e5872367 [mssa] Fix case when there is no definition in a block prior to an inserted use.
Summary:
Check that the first access before one being tested is valid.
Before this patch, if there was no definition prior to the Use being tested,
the first time Iter was deferenced, it hit the sentinel.

Reviewers: dberlin, gbiv

Subscribers: sanjoy, Prazek, llvm-commits

Differential Revision: https://reviews.llvm.org/D33950

llvm-svn: 304926
2017-06-07 16:46:53 +00:00
..
ADT Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00
Analysis [mssa] Fix case when there is no definition in a block prior to an inserted use. 2017-06-07 16:46:53 +00:00
AsmParser Remove every uses of getGlobalContext() in LLVM (but the C API) 2016-04-14 21:59:01 +00:00
BinaryFormat Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
Bitcode Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00
CodeGen Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
DebugInfo Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
ExecutionEngine Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00
IR Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00
LineEditor Remove autoconf support 2016-01-26 21:29:08 +00:00
Linker Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00
MC Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00
MI UnitTests: Do not use assert() for error checking 2017-06-06 19:00:54 +00:00
Object Fix unittest for buildbot with mips host (32bit big endian) from r295174 2017-02-15 16:03:22 +00:00
ObjectYAML Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
Option Fix some ArgList uses after API change in r300135. 2017-04-12 23:43:58 +00:00
ProfileData Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00
Support Disable all warning for AlignOfTest.cpp. 2017-06-07 06:30:27 +00:00
Target UnitTests: Do not use assert() for error checking 2017-06-06 19:00:54 +00:00
Transforms Re-sort #include lines for unittests. This uses a slightly modified 2017-06-06 11:06:56 +00:00
XRay [XRay][graph] Disambiguate name of type from member name 2017-02-10 06:59:25 +00:00
CMakeLists.txt Move Object format code to lib/BinaryFormat. 2017-06-07 03:48:56 +00:00