[llvm] a9d3459 - [SandboxVectorizer] Add missing export to symbol used in test (#227879)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 17:01:41 PDT 2026
Author: Tom Stellard
Date: 2026-10-01T17:01:31-07:00
New Revision: a9d345976e5ae9c67ba69f964843c82654606883
URL: https://github.com/llvm/llvm-project/commit/a9d345976e5ae9c67ba69f964843c82654606883
DIFF: https://github.com/llvm/llvm-project/commit/a9d345976e5ae9c67ba69f964843c82654606883.diff
LOG: [SandboxVectorizer] Add missing export to symbol used in test (#227879)
Added:
Modified:
llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h
llvm/lib/Transforms/Vectorize/SandboxVectorizer/VecUtils.cpp
Removed:
################################################################################
diff --git a/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h b/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h
index f7bda9e1d4f12..527c0ae0bbe73 100644
--- a/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h
+++ b/llvm/include/llvm/Transforms/Vectorize/SandboxVectorizer/VecUtils.h
@@ -503,6 +503,10 @@ class VecUtils {
#endif // NDEBUG
};
+extern template LLVM_TEMPLATE_ABI void
+ VecUtils::DeadInstructionMorgue::collectPotentiallyDeadInstrs<Instruction>(
+ BndlRef<Instruction *>);
+
} // namespace sandboxir
} // namespace llvm
diff --git a/llvm/lib/Transforms/Vectorize/SandboxVectorizer/VecUtils.cpp b/llvm/lib/Transforms/Vectorize/SandboxVectorizer/VecUtils.cpp
index 6901e0b799d3a..d750534c562f9 100644
--- a/llvm/lib/Transforms/Vectorize/SandboxVectorizer/VecUtils.cpp
+++ b/llvm/lib/Transforms/Vectorize/SandboxVectorizer/VecUtils.cpp
@@ -137,7 +137,7 @@ void VecUtils::DeadInstructionMorgue::collectPotentiallyDeadInstrs(
template void
VecUtils::DeadInstructionMorgue::collectPotentiallyDeadInstrs<Value>(
BndlRef<Value *>);
-template void
+template LLVM_EXPORT_TEMPLATE void
VecUtils::DeadInstructionMorgue::collectPotentiallyDeadInstrs<Instruction>(
BndlRef<Instruction *>);
More information about the llvm-commits
mailing list