aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2024-08-03 15:33:08 -0700
committerGitHub <noreply@github.com>2024-08-03 15:33:08 -0700
commitb7146aed5b99e6f858f6c7243a2a38406bb41d1c (patch)
tree18f5056511326ee1039e9c1ee7c46b859d98c289 /llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
parent1a9acd786d493b00c08d1611f51420d421b74cf1 (diff)
downloadllvm-b7146aed5b99e6f858f6c7243a2a38406bb41d1c.zip
llvm-b7146aed5b99e6f858f6c7243a2a38406bb41d1c.tar.gz
llvm-b7146aed5b99e6f858f6c7243a2a38406bb41d1c.tar.bz2
[Transforms] Construct SmallVector with ArrayRef (NFC) (#101851)
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp b/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
index c2affaf..810cbbd 100644
--- a/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
+++ b/llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
@@ -281,8 +281,7 @@ class CHRScope {
private:
CHRScope(ArrayRef<RegInfo> RegInfosIn, ArrayRef<CHRScope *> SubsIn)
- : RegInfos(RegInfosIn.begin(), RegInfosIn.end()),
- Subs(SubsIn.begin(), SubsIn.end()), BranchInsertPoint(nullptr) {}
+ : RegInfos(RegInfosIn), Subs(SubsIn), BranchInsertPoint(nullptr) {}
};
class CHR {