Skip to content

Static Linux: Add LLVM_TARGETS_TO_BUILD to set architectures explicitly - #586

Merged
shahmishal merged 2 commits into
swiftlang:mainfrom
MaxDesiatov:patch-1
Aug 7, 2026
Merged

Static Linux: Add LLVM_TARGETS_TO_BUILD to set architectures explicitly#586
shahmishal merged 2 commits into
swiftlang:mainfrom
MaxDesiatov:patch-1

Conversation

@MaxDesiatov

Copy link
Copy Markdown
Contributor

We're not supposed to build with AMDGPU LLVM backend here, otherwise this leads to unsupported code paths:

 /home/build-user/source/swift-project/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp:1211: error: invalid conversion from 'llvm::Value*' to 'llvm::CallInst*' [-fpermissive]

rdar://184231422

We're not supposed to build with AMDGPU LLVM backend here, otherwise this leads to unsupported code paths:

```
 /home/build-user/source/swift-project/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp:1211: error: invalid conversion from 'llvm::Value*' to 'llvm::CallInst*' [-fpermissive]
```

rdar://184231422
@shahmishal
shahmishal merged commit e6c4788 into swiftlang:main Aug 7, 2026
1 check passed
@shahmishal

Copy link
Copy Markdown
Member

cc: @al45tair

@MaxDesiatov
MaxDesiatov deleted the patch-1 branch August 7, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants