llvm-6502/test
Chris Lattner f2369f2042 when we see a unaligned load from an insufficiently aligned global or
alloca, increase the alignment of the load, turning it into an aligned load.

This allows us to compile:

#include <xmmintrin.h>
__m128i foo(__m128i x){
 static const unsigned int c_0[4] = { 0, 0, 0, 0 };
	  __m128i v_Zero = _mm_loadu_si128((__m128i*)c_0);
  x  = _mm_unpacklo_epi8(x,  v_Zero);
  return x;
}

into:

_foo:
	punpcklbw	_c_0.5944, %xmm0
	ret
	.data
	.lcomm	_c_0.5944,16,4		# c_0.5944

instead of:

_foo:
	movdqu	_c_0.5944, %xmm1
	punpcklbw	%xmm1, %xmm0
	ret
	.data
	.lcomm	_c_0.5944,16,2		# c_0.5944



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40971 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-09 19:05:49 +00:00
..
Analysis Add reference to problem report. 2007-08-07 12:27:03 +00:00
Archive Delete the svn:executable property on these files, which aren't executable. 2007-07-23 19:26:08 +00:00
Assembler Fix PR1577, a crash on invalid bug. 2007-08-06 21:00:37 +00:00
Bitcode This is the patch to provide clean intrinsic function overloading support in LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future. 2007-08-04 01:51:18 +00:00
BugPoint Convert .cvsignore files 2007-06-29 16:35:07 +00:00
C++Frontend Clean up C++ restrict test cases and add a test for restrict qualified methods. 2007-08-01 18:48:29 +00:00
CFrontend Add a test for the load/store alignment. 2007-08-01 20:07:59 +00:00
CodeGen allow this to pass on ppc hosts. 2007-08-05 18:48:18 +00:00
DebugInfo For PR1558: 2007-07-17 06:20:38 +00:00
ExecutionEngine Convert .cvsignore files 2007-06-29 16:35:07 +00:00
Feature This is the patch to provide clean intrinsic function overloading support in LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future. 2007-08-04 01:51:18 +00:00
FrontendAda For multipart tests, place the parts with no 2007-07-23 13:41:53 +00:00
FrontendObjC New test. 2007-05-03 00:42:22 +00:00
Integer For PR1553: 2007-07-19 23:13:04 +00:00
lib The Ada f-e produces various auxiliary output files 2007-07-23 15:23:35 +00:00
Linker Convert .cvsignore files 2007-06-29 16:35:07 +00:00
Other Fix PR1539. Add LoopPassPrinter. 2007-07-05 15:32:03 +00:00
Scripts Add a script to run a command but ignore its return code. This script 2007-04-14 16:14:08 +00:00
TableGen Convert .cvsignore files 2007-06-29 16:35:07 +00:00
Transforms when we see a unaligned load from an insufficiently aligned global or 2007-08-09 19:05:49 +00:00
Verifier Make sure these tests pass for the right reasons (verifier error, rather than 2007-08-01 23:07:36 +00:00
Makefile For PR1411: 2007-05-11 06:47:16 +00:00
Makefile.tests Failure.sh is dead, remove it. 2007-04-21 20:46:55 +00:00
TestRunner.sh Avoid an infinite loop when TestRunner.sh is run outside of the test dir. 2007-05-18 02:06:03 +00:00