llvm-mirror/test
Chandler Carruth 62c5338f7a [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.

llvm-svn: 202224
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
Bindings Don't try to set a dummy DataLayout. It is parsed now. 2014-02-25 20:41:28 +00:00
Bitcode
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
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
TableGen
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
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
Makefile
Makefile.tests
TestRunner.sh