Skip to content

Conversation

wenju-he
Copy link
Contributor

@wenju-he wenju-he commented Aug 12, 2025

opencl-clang only uses clang libraries to generate frontend IR and explicitly disables llvm optimizations. In addition, opencl-clang doesn't parse/print assembly.
Therefore, there is no need to initialize llvm target machines, target MCs, asm printers and asm parsers

This PR removes opencl-clang's dependency on some llvm libraries.

(cherry picked from commit 44edebc)

jira: CMPLRLLVM-69301

opencl-clang only uses clang libraries to generate frontend IR and
explicitly disables llvm optimizations. In addition, opencl-clang
doesn't parse/print assembly.
Therefore, there is no need to initialize llvm target machines, target
MCs, asm printers and asm parsers

This PR removes opencl-clang's dependency on some llvm libraries.

(cherry picked from commit 44edebc)
@wenju-he wenju-he requested a review from cdai2 August 12, 2025 02:37
@wenju-he wenju-he requested a review from Nuullll August 27, 2025 02:55
@wenju-he wenju-he merged commit 28d3ab3 into intel:ocl-open-160 Aug 28, 2025
1 check passed
@wenju-he wenju-he deleted the remove-InitializeAll branch August 28, 2025 03:53
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