[X86] Remove patterns for (vzmovl (insert_subvector undef, (scalar_to_vector))) as...
authorCraig Topper <craig.topper@gmail.com>
Sat, 13 Aug 2016 06:02:19 +0000 (06:02 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 13 Aug 2016 06:02:19 +0000 (06:02 +0000)
llvm-svn: 278594

llvm/lib/Target/X86/X86InstrSSE.td

index 44c2395..6d64288 100644 (file)
@@ -7170,17 +7170,6 @@ let Predicates = [UseAVX] in {
             (VBLENDPDYrri (v4f64 (AVX_SET0)), VR256:$src, (i8 1))>;
   }
 
-  def : Pat<(v8f32 (X86vzmovl (insert_subvector undef,
-                   (v4f32 (scalar_to_vector FR32:$src)), (iPTR 0)))),
-            (SUBREG_TO_REG (i32 0),
-                           (v4f32 (VMOVSSrr (v4f32 (V_SET0)), FR32:$src)),
-                           sub_xmm)>;
-  def : Pat<(v4f64 (X86vzmovl (insert_subvector undef,
-                   (v2f64 (scalar_to_vector FR64:$src)), (iPTR 0)))),
-            (SUBREG_TO_REG (i64 0),
-                           (v2f64 (VMOVSDrr (v2f64 (V_SET0)), FR64:$src)),
-                           sub_xmm)>;
-
   // These will incur an FP/int domain crossing penalty, but it may be the only
   // way without AVX2. Do not add any complexity because we may be able to match
   // more optimal patterns defined earlier in this file.