[PATCH] D78357: [NFC][TTI] Explicit use of VectorType
Sam Parker via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 17 04:17:47 PDT 2020
samparker created this revision.
samparker added reviewers: RKSimon, spatel, ctetreau, arsenm, uweigand, craig.topper.
Herald added subscribers: kerbowa, hiraditya, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.
The API for shuffles and reductions uses generic Type parameters, instead of VectorType, and so assertions and casts are used a lot. This patch makes those types explicit, which means that the clients have to be explit, meaning they can't be lazy and ambiguous, but that can only be a good thing.
Bugzilla: https://bugs.llvm.org/show_bug.cgi?id=45562
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78357
Files:
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
llvm/lib/Target/ARM/ARMTargetTransformInfo.h
llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.h
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/lib/Transforms/Vectorize/VectorCombine.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78357.258284.patch
Type: text/x-patch
Size: 43694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200417/4ecee86b/attachment.bin>
More information about the llvm-commits
mailing list