aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/TwoAddressInstructionPass.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2007-10-19 21:23:22 +0000
committerEvan Cheng <evan.cheng@apple.com>2007-10-19 21:23:22 +0000
commit4a7e72ff3e293d3fcf0a55338ec6316b3731aacb (patch)
tree56c81a5bb8979cc3df924078dcbfb328a5d9ee64 /lib/CodeGen/TwoAddressInstructionPass.cpp
parent46329b72097fe55d565d8d05b3c07dfdde04bf8e (diff)
downloadexternal_llvm-4a7e72ff3e293d3fcf0a55338ec6316b3731aacb.tar.gz
external_llvm-4a7e72ff3e293d3fcf0a55338ec6316b3731aacb.tar.bz2
external_llvm-4a7e72ff3e293d3fcf0a55338ec6316b3731aacb.zip
Local spiller optimization:
Turn a store folding instruction into a load folding instruction. e.g. xorl %edi, %eax movl %eax, -32(%ebp) movl -36(%ebp), %eax orl %eax, -32(%ebp) => xorl %edi, %eax orl -36(%ebp), %eax mov %eax, -32(%ebp) This enables the unfolding optimization for a subsequent instruction which will also eliminate the newly introduced store instruction. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43192 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
0 files changed, 0 insertions, 0 deletions