mirror of https://github.com/microsoft/clang.git
AMDGPU: Remove amdgpu-debugger-reserve-regs feature
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335287 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e7e696b260
commit
72c90200a6
|
@ -43,7 +43,6 @@ void amdgpu::getAMDGPUTargetFeatures(const Driver &D,
|
|||
StringRef value = dAbi->getValue();
|
||||
if (value == "1.0") {
|
||||
Features.push_back("+amdgpu-debugger-insert-nops");
|
||||
Features.push_back("+amdgpu-debugger-reserve-regs");
|
||||
Features.push_back("+amdgpu-debugger-emit-prologue");
|
||||
} else {
|
||||
D.Diag(diag::err_drv_clang_unsupported) << dAbi->getAsString(Args);
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
// RUN: %clang -### -target amdgcn -x cl -S -emit-llvm -mcpu=kaveri -mamdgpu-debugger-abi=1.0 %s -o - 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-MAMDGPU-DEBUGGER-ABI-1-0 %s
|
||||
// CHECK-MAMDGPU-DEBUGGER-ABI-1-0: "-target-feature" "+amdgpu-debugger-insert-nops" "-target-feature" "+amdgpu-debugger-reserve-regs" "-target-feature" "+amdgpu-debugger-emit-prologue"
|
||||
// CHECK-MAMDGPU-DEBUGGER-ABI-1-0: "-target-feature" "+amdgpu-debugger-insert-nops" "-target-feature" "+amdgpu-debugger-emit-prologue"
|
||||
|
||||
// RUN: %clang -### -target amdgcn -mcpu=gfx700 -mxnack %s 2>&1 | FileCheck --check-prefix=XNACK %s
|
||||
// XNACK: "-target-feature" "+xnack"
|
||||
|
|
Loading…
Reference in New Issue