Skip to content

Commit 8bf04a2

Browse files
svenvhsmallp-o-p
authored and
smallp-o-p
committed
[SPIR-V] Add missing ScalarOpts library (llvm#114384)
Fixes an "undefined reference to `llvm::createRegToMemWrapperPass()'" linker error introduced by cba7055 ("[SPIR-V] Fix BB ordering & register lifetime (llvm#111026)", 2024-10-30).
1 parent 4994aa7 commit 8bf04a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/SPIRV/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ add_llvm_target(SPIRVCodeGen
5656
MC
5757
SPIRVDesc
5858
SPIRVInfo
59+
ScalarOpts
5960
SelectionDAG
6061
Support
6162
Target

0 commit comments

Comments
 (0)