aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-17 21:22:06 +0000
committerChris Lattner <sabre@nondot.org>2006-04-17 21:22:06 +0000
commit72d7c270698e67ceba9ce41fd6b1266fbf65050b (patch)
tree3a7e712aa49d1964d68f782396dc21a8301ecc10 /llvm/lib/CodeGen/MachineInstr.cpp
parent14c4972b6dfa4e325ec85aa37d72ae36eb13ead3 (diff)
downloadllvm-72d7c270698e67ceba9ce41fd6b1266fbf65050b.zip
llvm-72d7c270698e67ceba9ce41fd6b1266fbf65050b.tar.gz
llvm-72d7c270698e67ceba9ce41fd6b1266fbf65050b.tar.bz2
Vectors that are known live-in and live-out are clearly already marked in
the vrsave register for the caller. This allows us to codegen a function as: _test_rol: mfspr r2, 256 mr r3, r2 mtspr 256, r3 vspltisw v2, -12 vrlw v2, v2, v2 mtspr 256, r2 blr instead of: _test_rol: mfspr r2, 256 oris r3, r2, 40960 mtspr 256, r3 vspltisw v0, -12 vrlw v2, v0, v0 mtspr 256, r2 blr llvm-svn: 27772
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions