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 | 2a099c04c1427647075f72cb7f5cc761b2e45072 (patch) | |
| tree | 9c3cb3c580c326326b8a944ee7797c59dd6dc6e9 /llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll | |
| parent | 31b7d89e667fa8e92ec798c019d5ac245b2b0ec7 (diff) | |
| download | bcm5719-llvm-2a099c04c1427647075f72cb7f5cc761b2e45072.tar.gz bcm5719-llvm-2a099c04c1427647075f72cb7f5cc761b2e45072.zip | |
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/test/Regression/CodeGen/PowerPC/vec_constants.ll')
0 files changed, 0 insertions, 0 deletions

