diff options
author | Chris Lattner <sabre@nondot.org> | 2006-04-17 06:00:21 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-04-17 06:00:21 +0000 |
commit | 4a998b9ca8372038ac92ea6057290c2cad73f988 (patch) | |
tree | d140cad6f03f5c7f555e89f3b0fca7ceebfc31e4 /lib/CodeGen/MachineBasicBlock.cpp | |
parent | 6e5316ff6540036b27851e5dd8f878abc3285057 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions