[llvm] 8c9bb9c - [NFC] Remove unused value (#94439)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 5 20:19:04 PDT 2024
Author: Jianjian Guan
Date: 2024-06-06T11:19:00+08:00
New Revision: 8c9bb9c506a08b06607c7bf931a384095f0553ee
URL: https://github.com/llvm/llvm-project/commit/8c9bb9c506a08b06607c7bf931a384095f0553ee
DIFF: https://github.com/llvm/llvm-project/commit/8c9bb9c506a08b06607c7bf931a384095f0553ee.diff
LOG: [NFC] Remove unused value (#94439)
Added:
Modified:
llvm/lib/Transforms/Utils/InlineFunction.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Utils/InlineFunction.cpp b/llvm/lib/Transforms/Utils/InlineFunction.cpp
index eb471b259c7d4..cfe63496a1007 100644
--- a/llvm/lib/Transforms/Utils/InlineFunction.cpp
+++ b/llvm/lib/Transforms/Utils/InlineFunction.cpp
@@ -1221,7 +1221,6 @@ static void AddAliasScopeMetadata(CallBase &CB, ValueToValueMapTy &VMap,
SmallPtrSet<const Value *, 4> ObjSet;
SmallVector<Metadata *, 4> Scopes, NoAliases;
- SmallSetVector<const Argument *, 4> NAPtrArgs;
for (const Value *V : PtrArgs) {
SmallVector<const Value *, 4> Objects;
getUnderlyingObjects(V, Objects, /* LI = */ nullptr);
More information about the llvm-commits
mailing list