[PATCH] D74386: [SVE] Update API ConstantVector::getSplat() to use ElementCount.
Huihui Zhang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 23:13:12 PST 2020
huihuiz created this revision.
huihuiz added reviewers: sdesmalen, efriedma, apazos, spatel, huntergr, willlovett.
huihuiz added a project: LLVM.
Herald added subscribers: cfe-commits, psnobl, rkruppe, hiraditya, tschuett.
Herald added a project: clang.
Support ConstantInt::get() and Constant::getAllOnesValue() for scalable
vector type, this requires ConstantVector::getSplat() to take in 'ElementCount',
instead of 'unsigned' number of element count.
This change is needed for D73753 <https://reviews.llvm.org/D73753>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D74386
Files:
clang/lib/CodeGen/CGBuiltin.cpp
llvm/include/llvm/Analysis/Utils/Local.h
llvm/include/llvm/IR/Constants.h
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/lib/IR/ConstantFold.cpp
llvm/lib/IR/Constants.cpp
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/unittests/FuzzMutate/OperationsTest.cpp
llvm/unittests/IR/VerifierTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74386.243745.patch
Type: text/x-patch
Size: 16983 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200211/e1b6f644/attachment.bin>
More information about the cfe-commits
mailing list