[PATCH] D112820: Emit hidden hostcall argument for sanitized kernels.
Yaxun Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 2 08:26:07 PDT 2021
yaxunl added a comment.
You can add
getModule().addModuleFlag(llvm::Module::Override, "amdgpu_hostcall", 1);
at https://github.com/llvm/llvm-project/blob/b2a2c38349a18b89b04d342632d5ea02f86dfdd6/clang/lib/CodeGen/CodeGenModule.cpp#L542
It will be a more consistent and efficient way to represent the need for hostcall.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112820/new/
https://reviews.llvm.org/D112820
More information about the llvm-commits
mailing list