[llvm] 22081dc - [SPIR-V] Add missing ScalarOpts library (#114384)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 31 03:50:05 PDT 2024
Author: Sven van Haastregt
Date: 2024-10-31T11:50:01+01:00
New Revision: 22081dc40ba8b13e70df71bb7350126658e8cc70
URL: https://github.com/llvm/llvm-project/commit/22081dc40ba8b13e70df71bb7350126658e8cc70
DIFF: https://github.com/llvm/llvm-project/commit/22081dc40ba8b13e70df71bb7350126658e8cc70.diff
LOG: [SPIR-V] Add missing ScalarOpts library (#114384)
Fixes an "undefined reference to `llvm::createRegToMemWrapperPass()'"
linker error introduced by cba70550ccf5 ("[SPIR-V] Fix BB ordering &
register lifetime (#111026)", 2024-10-30).
Added:
Modified:
llvm/lib/Target/SPIRV/CMakeLists.txt
Removed:
################################################################################
diff --git a/llvm/lib/Target/SPIRV/CMakeLists.txt b/llvm/lib/Target/SPIRV/CMakeLists.txt
index 326343ae278148..aa83d997578fd5 100644
--- a/llvm/lib/Target/SPIRV/CMakeLists.txt
+++ b/llvm/lib/Target/SPIRV/CMakeLists.txt
@@ -56,6 +56,7 @@ add_llvm_target(SPIRVCodeGen
MC
SPIRVDesc
SPIRVInfo
+ ScalarOpts
SelectionDAG
Support
Target
More information about the llvm-commits
mailing list