commit | 4a998b9ca8372038ac92ea6057290c2cad73f988 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Apr 17 06:00:21 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Apr 17 06:00:21 2006 +0000 |
tree | d140cad6f03f5c7f555e89f3b0fca7ceebfc31e4 | |
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