Skip to content

ROCm-Device-Libs: LLVM 22 SPIR-V datalayout fix#1157

Merged
pvelesko merged 1 commit intomainfrom
llvm-22-datalayout
Feb 19, 2026
Merged

ROCm-Device-Libs: LLVM 22 SPIR-V datalayout fix#1157
pvelesko merged 1 commit intomainfrom
llvm-22-datalayout

Conversation

@pvelesko
Copy link
Copy Markdown
Collaborator

@pvelesko pvelesko commented Feb 19, 2026

Switch to 0148370 approach by @linehill: omit hardcoded datalayout/triple in .ll files,query clang -target spirv64 at configure to get datalayout. Robust acrossLLVM versions (19, 22, chipStar fork). Set AMDGPU_TARGET_TRIPLE=spirv64 forchipStar OpenCL path.

@pvelesko pvelesko marked this pull request as draft February 19, 2026 10:35
@pvelesko pvelesko marked this pull request as ready for review February 19, 2026 14:09
Switch to 0148370 approach: omit hardcoded datalayout/triple in .ll files,
query clang -target spirv64 at configure to get datalayout. Robust across
LLVM versions (19, 22, chipStar fork). Set AMDGPU_TARGET_TRIPLE=spirv64 for
chipStar OpenCL path.
@pvelesko pvelesko merged commit f63a2d7 into main Feb 19, 2026
19 checks passed
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.

1 participant