[PATCH] D115283: [AMDGPU] Set "amdgpu_hostcall" module flag if an AMDGPU function has calls to device lib functions that use hostcalls.

Jon Chesterfield via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 7 15:12:03 PST 2021


JonChesterfield added inline comments.


================
Comment at: clang/lib/CodeGen/TargetInfo.cpp:9425
 
+void AMDGPUTargetCodeGenInfo::checkFunctionCallABI(CodeGenModule &CGM,
+                                                   SourceLocation CallLoc,
----------------
Doesn't seem to check anything. Can we tag this patch up module flags onto an existing target specific patch up module hook?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115283/new/

https://reviews.llvm.org/D115283



More information about the cfe-commits mailing list