AMDGPU : Recalculate SGPRs when trap handler is supported
authorKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Wed, 16 May 2018 20:47:48 +0000 (20:47 +0000)
committerKonstantin Zhuravlyov <kzhuravl_dev@outlook.com>
Wed, 16 May 2018 20:47:48 +0000 (20:47 +0000)
commitc72ece6c2cb92edfd040d92b7fa6ca62bdaa8293
treec0c78d4655f32f89fc0c18fbfb2fef0a0a41f791
parent1f5eb86b51fdc236bd37161b8074da6a93fdea96
AMDGPU : Recalculate SGPRs when trap handler is supported

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

llvm-svn: 332523
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
llvm/test/CodeGen/AMDGPU/amdhsa-trap-num-sgprs.ll [new file with mode: 0644]