[PATCH] D29690: [AVX512] Improve EXTRACT_VECTOR_ELT with variable index.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 8 06:36:36 PST 2017
RKSimon added inline comments.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:13658
+ (Subtarget.hasAVX512() && (VT == MVT::v16f32 || VT == MVT::v16i32)))
+ return true; // VMERMD/PS
+ if ((Subtarget.hasAVX512() && (VT == MVT::v8f64 || VT == MVT::v8i64)) ||
----------------
// VPERMD/PS
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:13664
+ (Subtarget.hasBWI() && Subtarget.hasVLX() && VT == MVT::v16i16))
+ return true; // VMERMW
+ if ((Subtarget.hasVBMI() && VT == MVT::v64i8) ||
----------------
// VPERMW
Repository:
rL LLVM
https://reviews.llvm.org/D29690
More information about the llvm-commits
mailing list