[libc-commits] [clang] [libc] [llvm] [OpenMP][libc] Remove special handling for OpenMP printf (PR #98940)

Matt Arsenault via libc-commits libc-commits at lists.llvm.org
Mon Jul 15 11:11:34 PDT 2024


================
@@ -5892,8 +5892,6 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
         getTarget().getTriple().isAMDGCN() ||
         (getTarget().getTriple().isSPIRV() &&
          getTarget().getTriple().getVendor() == Triple::VendorType::AMD)) {
-      if (getLangOpts().OpenMPIsTargetDevice)
-        return EmitOpenMPDevicePrintfCallExpr(E);
----------------
arsenm wrote:

Is EmitDevicePrintfCallExpr now dead and deletable? 

https://github.com/llvm/llvm-project/pull/98940


More information about the libc-commits mailing list