aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/PHIElimination.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
commit053c1da8d956a794d158ac906b3927c923f97c4d (patch)
tree854873d70add745f12cb6df24494fbf9cca027c4 /lib/CodeGen/PHIElimination.cpp
parent2ff48bc4926b19931858a0ca413149bd9f40cda6 (diff)
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/PHIElimination.cpp')
0 files changed, 0 insertions, 0 deletions