[PATCH] D15675: AVX512: Fix TRUNCATE lowering vector to vector i1.
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 27 05:38:20 PST 2015
delena accepted this revision.
delena added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:13412
@@ +13411,3 @@
+ MVT ExtVT = MVT::getVectorVT(MVT::getIntegerVT(512/NumElts), NumElts);
+ In = DAG.getNode(ISD::SIGN_EXTEND, DL, ExtVT, In);
+ InVT = ExtVT;
----------------
Please add comments that you need SIGN_EXTEND from i8 to i16 because there is no SHIFT operation on byte level
Repository:
rL LLVM
http://reviews.llvm.org/D15675
More information about the llvm-commits
mailing list