[PATCH] D77183: [VectorUtils][X86] De-templatize scaleShuffleMask and 2 X86 shuffle mask helpers and move their implementation to cpp files

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 31 16:00:07 PDT 2020


craig.topper created this revision.
craig.topper added reviewers: spatel, efriedma, RKSimon.
Herald added a subscriber: hiraditya.

These were templated due to SelectionDAG using int masks for shuffles and IR using unsigned masks for shuffles. But now that D72467 <https://reviews.llvm.org/D72467> has landed we have an int mask version of IRBuilder::CreateShuffleVector. So just use int instead of a template


https://reviews.llvm.org/D77183

Files:
  llvm/include/llvm/Analysis/VectorUtils.h
  llvm/lib/Analysis/VectorUtils.cpp
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/lib/Target/X86/X86ISelLowering.h
  llvm/lib/Target/X86/X86InterleavedAccess.cpp
  llvm/unittests/Analysis/VectorUtilsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77183.254030.patch
Type: text/x-patch
Size: 13636 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200331/dab78383/attachment.bin>


More information about the llvm-commits mailing list