aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/BranchFolding.cpp
diff options
context:
space:
mode:
authorScott Michel <scottm@aero.org>2008-01-29 02:16:57 +0000
committerScott Michel <scottm@aero.org>2008-01-29 02:16:57 +0000
commitf9f42e669b14d06c63414e1c1ceff36e621c0ddd (patch)
tree854873d70add745f12cb6df24494fbf9cca027c4 /lib/CodeGen/BranchFolding.cpp
parentd92ed9099a22f8adb651c3413b6ac3a8e035c474 (diff)
downloadexternal_llvm-f9f42e669b14d06c63414e1c1ceff36e621c0ddd.zip
external_llvm-f9f42e669b14d06c63414e1c1ceff36e621c0ddd.tar.gz
external_llvm-f9f42e669b14d06c63414e1c1ceff36e621c0ddd.tar.bz2
Overhaul Cell SPU's addressing mode internals so that there are now
only two addressing mode nodes, SPUaform and SPUindirect (vice the three previous ones, SPUaform, SPUdform and SPUxform). This improves code somewhat because we now avoid using reg+reg addressing when it can be avoided. It also simplifies the address selection logic, which was the main point for doing this. Also, for various global variables that would be loaded using SPU's A-form addressing, prefer D-form offs[reg] addressing, keeping the base in a register if the variable is used more than once. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BranchFolding.cpp')
0 files changed, 0 insertions, 0 deletions