aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-04-17 06:00:21 +0000
committerChris Lattner <sabre@nondot.org>2006-04-17 06:00:21 +0000
commit2a099c04c1427647075f72cb7f5cc761b2e45072 (patch)
tree9c3cb3c580c326326b8a944ee7797c59dd6dc6e9 /llvm/lib/CodeGen/MachineInstr.cpp
parent31b7d89e667fa8e92ec798c019d5ac245b2b0ec7 (diff)
downloadllvm-2a099c04c1427647075f72cb7f5cc761b2e45072.zip
llvm-2a099c04c1427647075f72cb7f5cc761b2e45072.tar.gz
llvm-2a099c04c1427647075f72cb7f5cc761b2e45072.tar.bz2
Pull some code out into a helper function.
Effeciently codegen even splats in the range [-32,30]. This allows us to codegen <30,30,30,30> as: vspltisw v0, 15 vadduwm v2, v0, v0 instead of as a cp load. llvm-svn: 27750
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions