diff options
| author | Chris Lattner <sabre@nondot.org> | 2006-04-17 17:54:18 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2006-04-17 17:54:18 +0000 |
| commit | 8cdba16d5e030e4c00c26658a3be95ecb0bbfbed (patch) | |
| tree | 9e7ce9acdebb924aa1a32e5cd4265a1004cfc35b /llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll | |
| parent | 26fb8d9393acd6881221db0c8ad2381fa14fd8ef (diff) | |
| download | bcm5719-llvm-8cdba16d5e030e4c00c26658a3be95ecb0bbfbed.tar.gz bcm5719-llvm-8cdba16d5e030e4c00c26658a3be95ecb0bbfbed.zip | |
Some more cases that can be generated with two instructions
llvm-svn: 27759
Diffstat (limited to 'llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll')
| -rw-r--r-- | llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll b/llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll index aea5294bd1c..59b7f7f6c66 100644 --- a/llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll +++ b/llvm/test/Regression/CodeGen/PowerPC/vec_constants.ll @@ -37,3 +37,12 @@ void %test1(<4 x int>* %P1, <4 x int>* %P2, <4 x float>* %P3) { sbyte -104, sbyte -104, sbyte -104, sbyte -104, sbyte -104, sbyte -104, sbyte -104, sbyte -104> } + +<4 x int> %test_vsldoi() { + ret <4 x int> <int 512, int 512, int 512, int 512> +} + +<4 x int> %test_rol() { + ret <4 x int> <int -11534337, int -11534337, int -11534337, int -11534337> +} + |

