[all-commits] [llvm/llvm-project] 118abf: [SVE] Update API ConstantVector::getSplat() to use...
huihzhang via All-commits
all-commits at lists.llvm.org
Thu Mar 12 13:30:40 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 118abf20173899e9e1667db1a9c850dc5570b6ae
https://github.com/llvm/llvm-project/commit/118abf20173899e9e1667db1a9c850dc5570b6ae
Author: Huihui Zhang <huihuiz at quicinc.com>
Date: 2020-03-12 (Thu, 12 Mar 2020)
Changed paths:
M clang/lib/CodeGen/CGBuiltin.cpp
M llvm/include/llvm/Analysis/Utils/Local.h
M llvm/include/llvm/IR/Constants.h
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/CodeGen/CodeGenPrepare.cpp
M llvm/lib/IR/ConstantFold.cpp
M llvm/lib/IR/Constants.cpp
M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
A llvm/test/CodeGen/AArch64/scalable-vector-promotion.ll
M llvm/test/Transforms/InstSimplify/gep.ll
M llvm/unittests/FuzzMutate/OperationsTest.cpp
M llvm/unittests/IR/VerifierTest.cpp
Log Message:
-----------
[SVE] Update API ConstantVector::getSplat() to use ElementCount.
Summary:
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.
Reviewers: sdesmalen, efriedma, apazos, spatel, huntergr, willlovett
Reviewed By: efriedma
Subscribers: tschuett, hiraditya, rkruppe, psnobl, cfe-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74386
More information about the All-commits
mailing list