summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/Mem2Reg.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
commitceae3bbf4dd5e3a6fc7e52fbce10d75abbc70af2 (patch)
tree6287354d3a75e32e1cdd9c350bdb979c08ab2c14 /llvm/lib/Transforms/Utils/Mem2Reg.cpp
parentce0740e1f509afab57c0adffbdbb7db5ac244547 (diff)
downloadbcm5719-llvm-ceae3bbf4dd5e3a6fc7e52fbce10d75abbc70af2.tar.gz
bcm5719-llvm-ceae3bbf4dd5e3a6fc7e52fbce10d75abbc70af2.zip
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. llvm-svn: 46483
Diffstat (limited to 'llvm/lib/Transforms/Utils/Mem2Reg.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud