[all-commits] [llvm/llvm-project] e20223: [IR] Add IRBuilderBase::CreateVectorSplat(ElementC...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sun Aug 2 08:56:07 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e20223672100ed4826827412b80a605c759538da
https://github.com/llvm/llvm-project/commit/e20223672100ed4826827412b80a605c759538da
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-08-02 (Sun, 02 Aug 2020)
Changed paths:
M llvm/include/llvm/IR/IRBuilder.h
M llvm/lib/IR/IRBuilder.cpp
M llvm/unittests/Analysis/VectorUtilsTest.cpp
Log Message:
-----------
[IR] Add IRBuilderBase::CreateVectorSplat(ElementCount EC) variant
As discussed on D81500, this adds a more general ElementCount variant of the build helper and converts the (non-scalable) unsigned NumElts variant to use it internally.
More information about the All-commits
mailing list