summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineLoopInfo.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-26 19:45:50 +0000
committerChris Lattner <sabre@nondot.org>2008-01-26 19:45:50 +0000
commite30e33af4ff2f939d1fb5e0871fa57c9e91cfe12 (patch)
tree4ad8bb79d0c72d42e20e6b33292c38ca60e57437 /llvm/lib/CodeGen/MachineLoopInfo.cpp
parent364963d41c89356667d31fedad8509ab8591818d (diff)
downloadbcm5719-llvm-e30e33af4ff2f939d1fb5e0871fa57c9e91cfe12.tar.gz
bcm5719-llvm-e30e33af4ff2f939d1fb5e0871fa57c9e91cfe12.zip
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 llvm-svn: 46401
Diffstat (limited to 'llvm/lib/CodeGen/MachineLoopInfo.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud