aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-13 02:50:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-13 02:50:24 +0000
commitf32558483732b7c8d1dd57c745d1b9d0359cd785 (patch)
treebcfcbc0dbea4929e9225144bf8c3913daecfa120 /test/CodeGen/X86
parenta5a15e2b008028fd938f8a4caf110d6c1d4fb00a (diff)
downloadexternal_llvm-f32558483732b7c8d1dd57c745d1b9d0359cd785.zip
external_llvm-f32558483732b7c8d1dd57c745d1b9d0359cd785.tar.gz
external_llvm-f32558483732b7c8d1dd57c745d1b9d0359cd785.tar.bz2
Local spiller optimization:
Turn this: movswl %ax, %eax movl %eax, -36(%ebp) xorl %edi, -36(%ebp) into movswl %ax, %eax xorl %edi, %eax movl %eax, -36(%ebp) by unfolding the load / store xorl into an xorl and a store when we know the value in the spill slot is available in a register. This doesn't change the number of instructions but reduce the number of times memory is accessed. Also unfold some load folding instructions and reuse the value when similar situation presents itself. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42947 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
0 files changed, 0 insertions, 0 deletions