aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorFabian Mora <fmora.dev@gmail.com>2024-06-25 12:05:11 -0500
committerGitHub <noreply@github.com>2024-06-25 12:05:11 -0500
commit70fb1e379b52bfab061fd608acb8c7d070d31ecd (patch)
treeaf7ad6dad8d29fcc0d5af86ccf1fd0b0a0f73681 /flang/lib/Frontend/CompilerInvocation.cpp
parent5c9513ac752fe33976a0a16a9e6d188b8200d3ae (diff)
downloadllvm-70fb1e379b52bfab061fd608acb8c7d070d31ecd.zip
llvm-70fb1e379b52bfab061fd608acb8c7d070d31ecd.tar.gz
llvm-70fb1e379b52bfab061fd608acb8c7d070d31ecd.tar.bz2
Reland [mlir][Target] Improve ROCDL gpu serialization API (#96198)
Reland: https://github.com/llvm/llvm-project/pull/95456 This patch improves the ROCDL gpu serialization API by: - Introducing the enum `AMDGCNLibraries` for specifying the AMD GCN device code libraries to use during linking. - Removing `getCommonBitcodeLibs` in favor of `AMDGCNLibraries`. Previously `getCommonBitcodeLibs` would try to load all AMD GCN bitcode librariesm now it will only load the requested libraries. - Exposing the `compileToBinary` method and making it virtual, allowing downstream users to re-use this method. - Exposing `moduleToObjectImpl`, this method provides a prototype flow for compiling to binary, allowing downstream users to re-use this method. - It also avoids constructing the control variables if no device libraries are being used. - Changes the style of the error messages to be composable, ie no full stops. - Adds an error message for when the ROCm toolkit can't be found but it was required.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions