diff options
author | Kazu Hirata <kazu@google.com> | 2024-08-03 15:33:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-03 15:33:08 -0700 |
commit | b7146aed5b99e6f858f6c7243a2a38406bb41d1c (patch) | |
tree | 18f5056511326ee1039e9c1ee7c46b859d98c289 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | 1a9acd786d493b00c08d1611f51420d421b74cf1 (diff) | |
download | llvm-b7146aed5b99e6f858f6c7243a2a38406bb41d1c.zip llvm-b7146aed5b99e6f858f6c7243a2a38406bb41d1c.tar.gz llvm-b7146aed5b99e6f858f6c7243a2a38406bb41d1c.tar.bz2 |
[Transforms] Construct SmallVector with ArrayRef (NFC) (#101851)
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/LoopVersioning.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopVersioning.cpp b/llvm/lib/Transforms/Utils/LoopVersioning.cpp index c43c92a..af2ed62 100644 --- a/llvm/lib/Transforms/Utils/LoopVersioning.cpp +++ b/llvm/lib/Transforms/Utils/LoopVersioning.cpp @@ -42,10 +42,8 @@ LoopVersioning::LoopVersioning(const LoopAccessInfo &LAI, ArrayRef<RuntimePointerCheck> Checks, Loop *L, LoopInfo *LI, DominatorTree *DT, ScalarEvolution *SE) - : VersionedLoop(L), AliasChecks(Checks.begin(), Checks.end()), - Preds(LAI.getPSE().getPredicate()), LAI(LAI), LI(LI), DT(DT), - SE(SE) { -} + : VersionedLoop(L), AliasChecks(Checks), Preds(LAI.getPSE().getPredicate()), + LAI(LAI), LI(LI), DT(DT), SE(SE) {} void LoopVersioning::versionLoop( const SmallVectorImpl<Instruction *> &DefsUsedOutside) { |