[PATCH] [X86] Refactor PMOV[SZ]Xrm to add missing AVX2 patterns.

Ahmed Bougacha ahmed.bougacha at gmail.com
Thu Nov 13 12:01:59 PST 2014


================
Comment at: lib/Target/X86/X86InstrSSE.td:6286
@@ +6285,3 @@
+            (!cast<I>(OpcPrefix#WDrm) addr:$src)>;
+  def : Pat<(v4i32 (ExtOp (bc_v8i16 (v2f64 (scalar_to_vector (loadf64 addr:$src)))))),
+            (!cast<I>(OpcPrefix#WDrm) addr:$src)>;
----------------
delena wrote:
> How do we extend float to i32? I don't think that we need to fold FP load to integer operation.
We don't, but loading a v4i16 results in a loadf64 (see vector-sext.ll, load_sext_test1).

http://reviews.llvm.org/D6125






More information about the llvm-commits mailing list