-
Notifications
You must be signed in to change notification settings - Fork 12.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Analysis] Copy-construct SmallVector (NFC) #105911
[Analysis] Copy-construct SmallVector (NFC) #105911
Conversation
@llvm/pr-subscribers-llvm-analysis Author: Kazu Hirata (kazutakahirata) ChangesFull diff: https://github.com/llvm/llvm-project/pull/105911.diff 1 Files Affected:
diff --git a/llvm/lib/Analysis/LazyValueInfo.cpp b/llvm/lib/Analysis/LazyValueInfo.cpp
index 47d3dac73083ee..615d8b7ccd8ccf 100644
--- a/llvm/lib/Analysis/LazyValueInfo.cpp
+++ b/llvm/lib/Analysis/LazyValueInfo.cpp
@@ -512,8 +512,8 @@ class LazyValueInfoImpl {
} // namespace llvm
void LazyValueInfoImpl::solve() {
- SmallVector<std::pair<BasicBlock *, Value *>, 8> StartingStack(
- BlockValueStack.begin(), BlockValueStack.end());
+ SmallVector<std::pair<BasicBlock *, Value *>, 8> StartingStack =
+ BlockValueStack;
unsigned processedCount = 0;
while (!BlockValueStack.empty()) {
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/134/builds/4056 Here is the relevant piece of the build log for the reference:
|
No description provided.