llvm-6502/test
Chris Lattner c87c50a39c Enhance SRoA to promote allocas that are used by selects in some
common cases.  This triggers a surprising number of times in SPEC2K6
because min/max idioms end up doing this.  For example, code from the
STL ends up looking like this to SRoA:

  %202 = load i64* %__old_size, align 8, !tbaa !3
  %203 = load i64* %__old_size, align 8, !tbaa !3
  %204 = load i64* %__n, align 8, !tbaa !3
  %205 = icmp ult i64 %203, %204
  %storemerge.i = select i1 %205, i64* %__n, i64* %__old_size
  %206 = load i64* %storemerge.i, align 8, !tbaa !3

We can now promote both the __n and the __old_size allocas.

This addresses another chunk of rdar://7339113, poor codegen on
stringswitch.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124088 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-23 22:04:55 +00:00
..
Analysis Simplify some code with no functionality change. Make the test a lot more 2011-01-23 20:06:05 +00:00
Archive
Assembler Allow unnamed_addr on declarations. 2011-01-15 08:15:00 +00:00
Bindings/Ocaml XFAIL vg_leak the new test as the rest. 2010-12-23 21:22:09 +00:00
Bitcode
BugPoint
CodeGen Pass sret arguments through the stack instead of through registers in Sparc backend. It makes the code generated more compliant with the sparc32 ABI. 2011-01-22 13:05:16 +00:00
DebugInfo
ExecutionEngine
Feature
FrontendAda
FrontendC Update llvm-gcc's tests. 2011-01-14 17:01:20 +00:00
FrontendC++
FrontendFortran
FrontendObjC Update tests to accomodate unnamed_addr introduction. 2011-01-17 17:54:17 +00:00
FrontendObjC++
Integer
lib
Linker Make everyone happy this time. 2011-01-16 21:34:34 +00:00
LLVMC
MC Add support for the --noexecstack option. 2011-01-23 17:55:27 +00:00
Object Revert "Object: Renable the tests now that none of the build bots complain about aliasing." 2011-01-21 06:27:04 +00:00
Other
Scripts Print all 64bits for st_value and st_size. Adjust tests accordingly. 2010-12-20 20:49:43 +00:00
TableGen Rename lisp-like functions as suggested by Gabor Greif as loooong time 2011-01-07 17:05:37 +00:00
Transforms Enhance SRoA to promote allocas that are used by selects in some 2011-01-23 22:04:55 +00:00
Unit
Verifier
CMakeLists.txt
lit.cfg Fix lit for people whose LLVM path contains 'opt', which is a common directory name on Unix-like systems. 2011-01-05 15:10:24 +00:00
lit.site.cfg.in
Makefile
Makefile.tests
site.exp.in
TestRunner.sh