diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-03-15 05:53:47 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-03-15 05:53:47 +0000 |
| commit | eb319f36b98d9f113d217042b4ed9b7385d5b890 (patch) | |
| tree | ab2e5b45a61bbb5120d7b0df8c40e0ebcb45f36f /llvm/lib/Target/CellSPU/CellSDKIntrinsics.td | |
| parent | 26e62737721f56a2415392fd208321d96ef5a0dd (diff) | |
| download | bcm5719-llvm-eb319f36b98d9f113d217042b4ed9b7385d5b890.tar.gz bcm5719-llvm-eb319f36b98d9f113d217042b4ed9b7385d5b890.zip | |
do some serious surgery on CellSPU to get it back into a world
where it uses types consistently.
llvm-svn: 98532
Diffstat (limited to 'llvm/lib/Target/CellSPU/CellSDKIntrinsics.td')
| -rw-r--r-- | llvm/lib/Target/CellSPU/CellSDKIntrinsics.td | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/CellSPU/CellSDKIntrinsics.td b/llvm/lib/Target/CellSPU/CellSDKIntrinsics.td index 1fe7aff94a7..9468aee067a 100644 --- a/llvm/lib/Target/CellSPU/CellSDKIntrinsics.td +++ b/llvm/lib/Target/CellSPU/CellSDKIntrinsics.td @@ -205,10 +205,9 @@ def CellSDKnand: // Shift/rotate intrinsics: //===----------------------------------------------------------------------===// -/* FIXME: These have (currently unenforced) type conflicts. */ def CellSDKshli: Pat<(int_spu_si_shli (v4i32 VECREG:$rA), uimm7:$val), - (SHLIv4i32 VECREG:$rA, uimm7:$val)>; + (SHLIv4i32 VECREG:$rA, (TO_IMM32 imm:$val))>; def CellSDKshlqbi: Pat<(int_spu_si_shlqbi VECREG:$rA, R32C:$rB), @@ -216,7 +215,7 @@ def CellSDKshlqbi: def CellSDKshlqii: Pat<(int_spu_si_shlqbii VECREG:$rA, uimm7:$val), - (SHLQBIIv16i8 VECREG:$rA, uimm7:$val)>; + (SHLQBIIv16i8 VECREG:$rA, (TO_IMM32 imm:$val))>; def CellSDKshlqby: Pat<(int_spu_si_shlqby VECREG:$rA, R32C:$rB), @@ -224,7 +223,8 @@ def CellSDKshlqby: def CellSDKshlqbyi: Pat<(int_spu_si_shlqbyi VECREG:$rA, uimm7:$val), - (SHLQBYIv16i8 VECREG:$rA, uimm7:$val)>; + (SHLQBYIv16i8 VECREG:$rA, (TO_IMM32 imm:$val))>; + //===----------------------------------------------------------------------===// // Branch/compare intrinsics: |

