Skip to content

Commit 22081dc

Browse files
authored
[SPIR-V] Add missing ScalarOpts library (#114384)
Fixes an "undefined reference to `llvm::createRegToMemWrapperPass()'" linker error introduced by cba7055 ("[SPIR-V] Fix BB ordering & register lifetime (#111026)", 2024-10-30).
1 parent 0800351 commit 22081dc

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)