OSDN Git Service

Generalize DiagnosticInfoStackSize to support other limits
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 20 Jun 2016 18:13:04 +0000 (18:13 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Mon, 20 Jun 2016 18:13:04 +0000 (18:13 +0000)
commit96ad9ea23de867b6a626172cb4dfffbb49bd1c13
treeb32ec9082daf77936d0e4b71720f060f0507f07a
parent61fd0e8c35350e84484b73b44a5680a6d487fc59
Generalize DiagnosticInfoStackSize to support other limits

Backends may want to report errors on resources other than
stack size.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273177 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DiagnosticInfo.h
lib/IR/DiagnosticInfo.cpp
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
test/CodeGen/AMDGPU/over-max-lds-size.ll