llvm-6502/test
Chris Lattner 1a3257bbf5 Make SROA produce a vector only when the alloca is actually
accessed at least once as a vector.  This prevents it from
compiling the example in not-a-vector into:

define double @test(double %A, double %B) {
	%tmp4 = insertelement <7 x double> undef, double %A, i32 0
	%tmp = insertelement <7 x double> %tmp4, double %B, i32 4
	%tmp2 = extractelement <7 x double> %tmp, i32 4
	ret double %tmp2
}

instead, producing the integer code.  Producing vectors when they
aren't otherwise in the program is dangerous because a lot of other
code treats them carefully and doesn't want to break them down.
OTOH, many things want to break down tasty i448's.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63638 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-03 18:15:05 +00:00
..
Analysis Wind SCEV back in time, to Nov 18th. This 'fixes' PR3275, PR3294, PR3295, 2009-01-13 09:18:58 +00:00
Archive
Assembler Fix PR3372 2009-02-02 07:24:28 +00:00
Bindings/Ocaml
Bitcode fix a bitcode reader bug where it can't handle extractelement correctly: 2009-02-03 02:11:28 +00:00
BugPoint
CodeGen Fix PR3411. When replacing values, nodes are analyzed 2009-02-03 10:23:33 +00:00
DebugInfo Do not add redundant arguments in a method definition DIE. 2009-02-02 17:51:41 +00:00
ExecutionEngine This is case is to uncover the bug in IntrinsicLowering.cpp, 2009-01-30 08:59:51 +00:00
Feature Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
FrontendAda
FrontendC Delete these two tests. They are specific to x86-64, and there's no 2009-02-03 01:33:26 +00:00
FrontendC++ Run dsymutil on darwin, when it is expected, before running gdb test. 2009-02-02 21:09:36 +00:00
FrontendFortran
FrontendObjC Testcase for 6522054. 2009-01-26 23:22:19 +00:00
FrontendObjC++
Integer alignment of 0 is not valid. 2009-01-05 08:14:35 +00:00
lib Run dsymutil on darwin, when it is expected, before running gdb test. 2009-02-02 21:09:36 +00:00
Linker Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
LLVMC Add three new option properties. 2009-01-28 03:47:20 +00:00
Other
Scripts
TableGen
Transforms Make SROA produce a vector only when the alloca is actually 2009-02-03 18:15:05 +00:00
Verifier Reimplement the old and horrible bison parser for .ll files with a nice 2009-01-02 07:01:27 +00:00
Makefile Run dsymutil on darwin, when it is expected, before running gdb test. 2009-02-02 21:09:36 +00:00
Makefile.tests
TestRunner.sh