[X86] Add NotMemoryFoldable to the VPCOMPRESS instructions.
authorCraig Topper <craig.topper@intel.com>
Tue, 12 Jun 2018 07:32:19 +0000 (07:32 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 12 Jun 2018 07:32:19 +0000 (07:32 +0000)
llvm-svn: 334481

llvm/lib/Target/X86/X86InstrAVX512.td

index 337832e5e1aafa7534275261c0254f6920fbee86..4480124c3ea2baeb11c95a3fdd3e013fd6b7fb4d 100644 (file)
@@ -9404,13 +9404,13 @@ multiclass compress_by_elt_width<bits<8> opc, string OpcodeStr,
 
 // FIXME: Is there a better scheduler class for VPCOMPRESS?
 defm VPCOMPRESSD : compress_by_elt_width <0x8B, "vpcompressd", WriteVarShuffle256,
-                                          avx512vl_i32_info>, EVEX;
+                                          avx512vl_i32_info>, EVEX, NotMemoryFoldable;
 defm VPCOMPRESSQ : compress_by_elt_width <0x8B, "vpcompressq", WriteVarShuffle256,
-                                          avx512vl_i64_info>, EVEX, VEX_W;
+                                          avx512vl_i64_info>, EVEX, VEX_W, NotMemoryFoldable;
 defm VCOMPRESSPS : compress_by_elt_width <0x8A, "vcompressps", WriteVarShuffle256,
-                                          avx512vl_f32_info>, EVEX;
+                                          avx512vl_f32_info>, EVEX, NotMemoryFoldable;
 defm VCOMPRESSPD : compress_by_elt_width <0x8A, "vcompresspd", WriteVarShuffle256,
-                                          avx512vl_f64_info>, EVEX, VEX_W;
+                                          avx512vl_f64_info>, EVEX, VEX_W, NotMemoryFoldable;
 
 // expand
 multiclass expand_by_vec_width<bits<8> opc, X86VectorVTInfo _,