llvm-6502/test
Chandler Carruth 50bc165c54 [SROA] Fix PR18615 with some long overdue simplifications to the bounds
checking in SROA.

The primary change is to just rely on uge for checking that the offset
is within the allocation size. This removes the explicit checks against
isNegative which were terribly error prone (including the reversed logic
that led to PR18615) and prevented us from supporting stack allocations
larger than half the address space.... Ok, so maybe the latter isn't
*common* but it's a silly restriction to have.

Also, we used to try to support a PHI node which loaded from before the
start of the allocation if any of the loaded bytes were within the
allocation. This doesn't make any sense, we have never really supported
loading or storing *before* the allocation starts. The simplified logic
just doesn't care.

We continue to allow loading past the end of the allocation in part to
support cases where there is a PHI and some loads are larger than others
and the larger ones reach past the end of the allocation. We could solve
this a different and more conservative way, but I'm still somewhat
paranoid about this.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202224 91177308-0d34-0410-b5e6-96231b3b80d8
2014-02-26 03:14:14 +00:00
..
Analysis add -da-delinearize runs and checks to MIV testcases 2014-02-21 18:15:18 +00:00
Assembler Bug 18228 - Fix accepting bitcasts between vectors of pointers with a 2014-01-22 19:21:33 +00:00
Bindings Don't try to set a dummy DataLayout. It is parsed now. 2014-02-25 20:41:28 +00:00
Bitcode Update testing case for r200806. 2014-02-04 23:53:12 +00:00
BugPoint
CodeGen R600/SI: Custom select 64-bit ADD 2014-02-25 21:36:18 +00:00
DebugInfo Attempt to unbreak an MSVC buildbot by switching to %llc_dwarf. 2014-02-25 23:03:00 +00:00
ExecutionEngine Ignore old JIT tests in AARch64 - CMake style 2014-02-25 09:31:00 +00:00
Feature Disable most IR-level transform passes on functions marked 'optnone'. 2014-02-06 00:07:05 +00:00
FileCheck
Instrumentation [asan] remove test that should have been removed in r202033 2014-02-24 13:44:24 +00:00
Integer
JitListener
Linker Copy dll storage in copyAttributes. 2014-02-13 05:11:35 +00:00
LTO Add back r201608, r201622, r201624 and r201625 2014-02-19 17:23:20 +00:00
MC Fix typos 2014-02-25 04:21:15 +00:00
Object Add a SymbolicFile interface between Binary and ObjectFile. 2014-02-21 20:10:59 +00:00
Other [PM] Wire up the Verifier for the new pass manager and connect it to the 2014-01-20 11:34:08 +00:00
TableGen [TableGen] Correctly generate implicit anonymous prototype defs in multiclasses 2014-01-02 20:47:09 +00:00
tools llvm-objdump: Do not attempt to disassemble symbols outside of section 2014-02-24 22:12:11 +00:00
Transforms [SROA] Fix PR18615 with some long overdue simplifications to the bounds 2014-02-26 03:14:14 +00:00
Unit
Verifier [PM] Make the verifier work independently of any pass manager. 2014-01-19 02:22:18 +00:00
YAMLParser
.clang-format
CMakeLists.txt [CMake] Remove dependency on non-existing profile_rt-shared. Patch by Brad King. 2014-02-24 15:07:06 +00:00
lit.cfg PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
lit.site.cfg.in Eliminate inappropriate use of FindProgramByName() from lli 2014-01-22 21:52:35 +00:00
Makefile Eliminate inappropriate use of FindProgramByName() from lli 2014-01-22 21:52:35 +00:00
Makefile.tests
TestRunner.sh