And always print it.
This makes some LLVM diagnostics match up better with Clang's diagnostics.
Updated some AMDGPU uses of DiagnosticInfoResourceLimit and now we print
better diagnostics for those.
Paths 
  |  Differential  D110204  
Make DiagnosticInfoResourceLimit's limit param required ClosedPublic Authored by aeubanks on Sep 21 2021, 3:18 PM. 
Details Summary And always print it. This makes some LLVM diagnostics match up better with Clang's diagnostics. Updated some AMDGPU uses of DiagnosticInfoResourceLimit and now we print 
Diff Detail 
 
Unit TestsFailed Event TimelineHerald added subscribers: foad, dexonsmith, kerbowa and 5 others.  ·  View Herald TranscriptSep 21 2021, 3:18 PM Herald added projects: Restricted Project, Restricted Project.  ·  View Herald TranscriptSep 21 2021, 3:18 PM This revision is now accepted and ready to land.Sep 21 2021, 3:27 PM This revision was landed with ongoing or failed builds.Sep 21 2021, 3:28 PM Closed by commit rGe42234383e2c: Make DiagnosticInfoResourceLimit's limit param required (authored by aeubanks).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 374048 clang/test/Misc/backend-resource-limit-diagnostics.cl
 clang/test/Misc/backend-stack-frame-diagnostics-fallback.cpp
 llvm/include/llvm/IR/DiagnosticInfo.h
 llvm/lib/CodeGen/PrologEpilogInserter.cpp
 llvm/lib/IR/DiagnosticInfo.cpp
 llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
 llvm/test/CodeGen/AMDGPU/stack-size-overflow.ll
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||