llvm-mirror/test
Sanjoy Das 45937543a4 [IRCE] Add a missing invariant check
Currently IRCE relies on the loops it transforms to be (semantically) of
the form:

  for (i = START; i < END; i++)
    ...

or

  for (i = START; i > END; i--)
    ...

However, we were not verifying the presence of the START < END entry
check (i.e. check before the first iteration).  We were only verifying
that the backedge was guarded by (i + 1) < END.

Usually this would work "fine" since (especially in Java) most loops do
actually have the START < END check, but of course that is not
guaranteed.

llvm-svn: 294375
2017-02-07 23:59:07 +00:00
..
Analysis [X86] Add costs for non-AVX512 single-source permutation integer shuffles 2017-02-02 20:27:13 +00:00
Assembler [NVPTX] Auto-upgrade some NVPTX intrinsics to LLVM target-generic code. 2017-01-21 01:00:32 +00:00
Bindings [cmake] Canonicalize CMake booleans to 0/1 for lit interop 2017-01-06 21:33:48 +00:00
Bitcode Fix the bitcode upgrade for DIGlobalVariable in a DIImportedEntity context. 2017-02-07 17:35:41 +00:00
BugPoint
CodeGen [X86][SSE] Add SSE2 build vector insertion tests 2017-02-07 22:23:12 +00:00
DebugInfo DebugInfo: Track spilled variables in LiveDebugValues 2017-02-07 21:23:15 +00:00
Examples
ExecutionEngine RuntimeDyldELF/AArch64: Implement basic GOT support 2017-02-06 15:31:28 +00:00
Feature Add intrinsics for constrained floating point operations 2017-01-26 23:27:59 +00:00
FileCheck Commit a test for match-full-lines. 2017-01-09 23:11:25 +00:00
Instrumentation SanitizerCoverage: Support sanitizer guard section on darwin 2017-02-01 02:38:39 +00:00
Integer
JitListener [cmake] Canonicalize CMake booleans to 0/1 for lit interop 2017-01-06 21:33:48 +00:00
LibDriver
Linker Linker: Move special casing for available_externally in IRMover to clients. NFCI. 2017-02-02 05:12:15 +00:00
LTO LTO: Link non-prevailing weak_odr or linkonce_odr globals into the combined module with available_externally linkage. 2017-02-02 05:22:42 +00:00
MC [PowerPC][Altivec] Add vnot extended mnemonic 2017-02-07 18:57:29 +00:00
Object Fix a typo in an error message for a check of invalid Mach-O files where 2017-02-07 21:20:44 +00:00
ObjectYAML Attempt to fix the testcase in r292824 2017-01-23 20:42:17 +00:00
Other [PM] Port LoopLoadElimination to the new pass manager and wire it into 2017-01-27 01:32:26 +00:00
SymbolRewriter
TableGen [GlobalISel] Print the matched patterns using an action. 2017-02-04 00:47:08 +00:00
ThinLTO/X86 Revert "[ThinLTO] Add an auto-hide feature" 2017-02-03 07:41:43 +00:00
tools Fix a bug in llvm-obdump(1) with the -macho and -info-plist options 2017-02-06 21:01:08 +00:00
Transforms [IRCE] Add a missing invariant check 2017-02-07 23:59:07 +00:00
Unit
Verifier Add intrinsics for constrained floating point operations 2017-01-26 23:27:59 +00:00
YAMLParser
.clang-format
CMakeLists.txt [llvm-config] Print --system-libs only when static linking 2017-01-06 21:33:54 +00:00
lit.cfg [llvm-config] Print --system-libs only when static linking 2017-01-06 21:33:54 +00:00
lit.site.cfg.in [llvm-config] Print --system-libs only when static linking 2017-01-06 21:33:54 +00:00
TestRunner.sh