[PATCH] D31393: [X86][LLVM] Converting __mm{|256|512}_movm_epi{8|16|32|64} LLVMIR call into generic intrinsics.

michael zuckerman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 3 09:04:57 PDT 2017


m_zuckerman added a comment.

Ping



================
Comment at: lib/IR/AutoUpgrade.cpp:803
+    MaskVec = Builder.CreateShuffleVector(MaskVec, MaskVec,
+                                          makeArrayRef(Indices), "extract");
+  }
----------------
craig.topper wrote:
> You shouldn't need makeArrayRef if you're just converting from a SmallVector it will implicitly convert.
> 
> 
> Is this function any different than getX86MaskVec that already exists?
I didn't saw it thanks :) 


https://reviews.llvm.org/D31393





More information about the llvm-commits mailing list