| commit | 2771e2c9602df0f3e296e18500b9079b21dea98c | [log] [tgz] |
|---|---|---|
| author | Chris Lattner <sabre@nondot.org> | Sat Mar 25 06:12:06 2006 +0000 |
| committer | Chris Lattner <sabre@nondot.org> | Sat Mar 25 06:12:06 2006 +0000 |
| tree | d804165da20af06ce2ca81d8819541c92f83eeff | |
| parent | 5359171003ad6aac509748e4bb04ed683bb12aa4 [diff] |
Codegen things like:
<int -1, int -1, int -1, int -1>
and
<int 65537, int 65537, int 65537, int 65537>
Using things like:
vspltisb v0, -1
and:
vspltish v0, 1
instead of using constant pool loads.
This implements CodeGen/PowerPC/vec_splat.ll:splat_imm_i{32|16}.
llvm-svn: 27106