================
@@ -173,6 +173,7 @@ void registerToLLVMTranslation() {
enableOpenMP);
if (!llvmModule)
return mlir::failure();
+ cir::direct::expandAMDGPUDevicePrintf(*llvmModule);
----------------
skc7 wrote:
Rather than a second call site, could this `expandAMDGPUDevicePrintf` move to
the end of `lowerDirectlyFromCIRToLLVMIR` itself? It also lets
`expandAMDGPUDevicePrintf` be static instead of exported from `LowerToLLVM.h`.
https://github.com/llvm/llvm-project/pull/226435
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits