diff options
| author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-09-20 23:19:29 +0000 |
|---|---|---|
| committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-09-20 23:19:29 +0000 |
| commit | f4b841d4e2754861adade83ece637f84aed031da (patch) | |
| tree | 9c56ed5fbf9c8b90d1994327e0d4016610d4671c /lib/Target | |
| parent | 5f2318e06549c0ec2bf21b3ce4690921f4a2422b (diff) | |
| download | external_llvm-f4b841d4e2754861adade83ece637f84aed031da.zip external_llvm-f4b841d4e2754861adade83ece637f84aed031da.tar.gz external_llvm-f4b841d4e2754861adade83ece637f84aed031da.tar.bz2 | |
Revert r140097, working on a better approach
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140203 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
| -rw-r--r-- | lib/Target/X86/X86InstrSSE.td | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index 4a8b766..3d0525c 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -157,21 +157,6 @@ def : Pat<(insert_subvector undef, (v8i16 VR128:$src), (i32 0)), def : Pat<(insert_subvector undef, (v16i8 VR128:$src), (i32 0)), (INSERT_SUBREG (v32i8 (IMPLICIT_DEF)), VR128:$src, sub_xmm)>; -// Inserting a 128-bit undef vector into the high part of a 256-bit -// vector should return the 256-bit vector itself. -def : Pat<(insert_subvector (v8i32 VR256:$src), undef, (i32 4)), - (v8i32 VR256:$src)>; -def : Pat<(insert_subvector (v8f32 VR256:$src), undef, (i32 4)), - (v8f32 VR256:$src)>; -def : Pat<(insert_subvector (v4i64 VR256:$src), undef, (i32 4)), - (v4i64 VR256:$src)>; -def : Pat<(insert_subvector (v4f64 VR256:$src), undef, (i32 4)), - (v4f64 VR256:$src)>; -def : Pat<(insert_subvector (v16i16 VR256:$src), undef, (i32 4)), - (v16i16 VR256:$src)>; -def : Pat<(insert_subvector (v32i8 VR256:$src), undef, (i32 4)), - (v32i8 VR256:$src)>; - // Implicitly promote a 32-bit scalar to a vector. def : Pat<(v4f32 (scalar_to_vector FR32:$src)), (INSERT_SUBREG (v4f32 (IMPLICIT_DEF)), FR32:$src, sub_ss)>; |
