llvm/lib
Chris Lattner 1329cb8d89 Infer alignment of loads and increase their alignment when we can tell they are
from the stack.  This allows us to compile stack-align.ll to:

_test:
	movsd	LCPI1_0, %xmm0
	movapd	%xmm0, %xmm1
***	andpd	4(%esp), %xmm1
	andpd	_G, %xmm0
	addsd	%xmm1, %xmm0
	movl	20(%esp), %eax
	movsd	%xmm0, (%eax)
	ret

instead of:

_test:
	movsd	LCPI1_0, %xmm0
**	movsd	4(%esp), %xmm1
**	andpd	%xmm0, %xmm1
	andpd	_G, %xmm0
	addsd	%xmm1, %xmm0
	movl	20(%esp), %eax
	movsd	%xmm0, (%eax)
	ret



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46401 91177308-0d34-0410-b5e6-96231b3b80d8
2008-01-26 19:45:50 +00:00
..
Analysis getUnderlyingObject can return null, handle this. 2008-01-24 19:07:10 +00:00
Archive Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
AsmParser If there are attributes on the varargs part of a 2008-01-11 21:23:39 +00:00
Bitcode Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
CodeGen Infer alignment of loads and increase their alignment when we can tell they are 2008-01-26 19:45:50 +00:00
Debugger Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
ExecutionEngine JITEmitter.cpp was trying to sync the icache for function stubs, but 2008-01-25 16:41:09 +00:00
Linker Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
Support Added FoldingSet style 'profiling' support for APSInt. 2008-01-19 04:31:12 +00:00
System Fix potential buffer overflow 2008-01-24 01:20:48 +00:00
Target If there's no instructions being emitted on X86 for a function, emit a 2008-01-26 09:03:52 +00:00
Transforms If there are no machine instructions emitted for a function, then insert 2008-01-26 06:51:24 +00:00
VMCore Add hasByValAttr() and hasNoAliasAttr() methods to the Argument class. 2008-01-24 17:47:11 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00