diff options
author | Austin <zhenhangwang@huawei.com> | 2025-07-04 14:10:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-04 14:10:28 +0800 |
commit | a550fef9061f3628e75825306759b13365cb50e3 (patch) | |
tree | 76344adbdddc4fecd44868bdfac68469e7d573b4 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | 872eac7af0050813062baba9662beb81093b6b55 (diff) | |
download | llvm-a550fef9061f3628e75825306759b13365cb50e3.zip llvm-a550fef9061f3628e75825306759b13365cb50e3.tar.gz llvm-a550fef9061f3628e75825306759b13365cb50e3.tar.bz2 |
[llvm] Use llvm::fill instead of std::fill(NFC) (#146911)
Use llvm::fill instead of std::fill
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopUtils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopUtils.cpp b/llvm/lib/Transforms/Utils/LoopUtils.cpp index e44fa6a..200d1fb 100644 --- a/llvm/lib/Transforms/Utils/LoopUtils.cpp +++ b/llvm/lib/Transforms/Utils/LoopUtils.cpp @@ -1171,7 +1171,7 @@ Value *llvm::getShuffleReduction(IRBuilderBase &Builder, Value *Src, SmallVector<int, 32> ShuffleMask(VF); for (unsigned stride = 1; stride < VF; stride <<= 1) { // Initialise the mask with undef. - std::fill(ShuffleMask.begin(), ShuffleMask.end(), -1); + llvm::fill(ShuffleMask, -1); for (unsigned j = 0; j < VF; j += stride << 1) { ShuffleMask[j] = j + stride; } |