[all-commits] [llvm/llvm-project] e42234: Make DiagnosticInfoResourceLimit's limit param req...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Sep 21 15:28:50 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e42234383e2c0a7472413cd8047889f6ad4afc88
      https://github.com/llvm/llvm-project/commit/e42234383e2c0a7472413cd8047889f6ad4afc88
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-09-21 (Tue, 21 Sep 2021)

  Changed paths:
    M clang/test/Misc/backend-resource-limit-diagnostics.cl
    M clang/test/Misc/backend-stack-frame-diagnostics-fallback.cpp
    M llvm/include/llvm/IR/DiagnosticInfo.h
    M llvm/lib/CodeGen/PrologEpilogInserter.cpp
    M llvm/lib/IR/DiagnosticInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
    M llvm/test/CodeGen/AMDGPU/stack-size-overflow.ll

  Log Message:
  -----------
  Make DiagnosticInfoResourceLimit's limit param required

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.

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D110204




More information about the All-commits mailing list