[all-commits] [llvm/llvm-project] 1318dd: [VectorUtils] rename scaleShuffleMask to narrowShu...
RotateRight via All-commits
all-commits at lists.llvm.org
Sat Apr 11 07:09:26 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 1318ddbc14c28eee63df9cfe3ed92dca82557935
https://github.com/llvm/llvm-project/commit/1318ddbc14c28eee63df9cfe3ed92dca82557935
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2020-04-11 (Sat, 11 Apr 2020)
Changed paths:
M llvm/include/llvm/Analysis/VectorUtils.h
M llvm/lib/Analysis/VectorUtils.cpp
M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/lib/Target/X86/X86InterleavedAccess.cpp
M llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
M llvm/lib/Transforms/Vectorize/VectorCombine.cpp
M llvm/unittests/Analysis/VectorUtilsTest.cpp
Log Message:
-----------
[VectorUtils] rename scaleShuffleMask to narrowShuffleMaskElts; NFC
As proposed in D77881, we'll have the related widening operation,
so this name becomes too vague.
While here, change the function signature to take an 'int' rather
than 'size_t' for the scaling factor, add an assert for overflow of
32-bits, and improve the documentation comments.
More information about the All-commits
mailing list