[PATCH] D41908: [X86][MMX] Add support for MMX zero vector creation

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 10 09:41:09 PST 2018


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86InstrInfo.cpp:8964
       Ty = VectorType::get(Type::getInt32Ty(MF.getFunction().getContext()), 8);
+    else if (Opc == X86::MMX_SET0)
+      Ty = VectorType::get(Type::getInt32Ty(MF.getFunction().getContext()), 2);
----------------
Do the test cases cover this?


Repository:
  rL LLVM

https://reviews.llvm.org/D41908





More information about the llvm-commits mailing list