File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1560,7 +1560,7 @@ static const char RegAllocOptNotSupportedMessage[] =
1560
1560
1561
1561
bool GCNPassConfig::addRegAssignAndRewriteFast () {
1562
1562
if (!usingDefaultRegAlloc ())
1563
- report_fatal_error (RegAllocOptNotSupportedMessage, /* GenCrashDiag= */ false );
1563
+ report_fatal_error (RegAllocOptNotSupportedMessage);
1564
1564
1565
1565
addPass (&GCNPreRALongBranchRegID);
1566
1566
@@ -1586,7 +1586,7 @@ bool GCNPassConfig::addRegAssignAndRewriteFast() {
1586
1586
1587
1587
bool GCNPassConfig::addRegAssignAndRewriteOptimized () {
1588
1588
if (!usingDefaultRegAlloc ())
1589
- report_fatal_error (RegAllocOptNotSupportedMessage, /* GenCrashDiag= */ false );
1589
+ report_fatal_error (RegAllocOptNotSupportedMessage);
1590
1590
1591
1591
addPass (&GCNPreRALongBranchRegID);
1592
1592
Original file line number Diff line number Diff line change 9
9
; RUN: llc -verify-machineinstrs=0 -sgpr-regalloc=basic -mtriple=amdgcn-amd-amdhsa -debug-pass=Structure -o /dev/null %s 2>&1 | FileCheck -check-prefix=BASIC-DEFAULT %s
10
10
; RUN: llc -verify-machineinstrs=0 -sgpr-regalloc=basic -wwm-regalloc=basic -vgpr-regalloc=basic -mtriple=amdgcn-amd-amdhsa -debug-pass=Structure -o /dev/null %s 2>&1 | FileCheck -check-prefix=BASIC-BASIC %s
11
11
12
- ; RUN: not llc -verify-machineinstrs=0 -regalloc=basic -mtriple=amdgcn-amd-amdhsa -debug-pass=Structure -o /dev/null %s 2>&1 | FileCheck -check-prefix=REGALLOC %s
13
- ; RUN: not llc -verify-machineinstrs=0 -regalloc=fast -O0 -mtriple=amdgcn-amd-amdhsa -debug-pass=Structure -o /dev/null %s 2>&1 | FileCheck -check-prefix=REGALLOC %s
12
+ ; RUN: not --crash llc -verify-machineinstrs=0 -regalloc=basic -mtriple=amdgcn-amd-amdhsa -debug-pass=Structure -o /dev/null %s 2>&1 | FileCheck -check-prefix=REGALLOC %s
13
+ ; RUN: not --crash llc -verify-machineinstrs=0 -regalloc=fast -O0 -mtriple=amdgcn-amd-amdhsa -debug-pass=Structure -o /dev/null %s 2>&1 | FileCheck -check-prefix=REGALLOC %s
14
14
15
15
16
16
; REGALLOC: -regalloc not supported with amdgcn. Use -sgpr-regalloc, -wwm-regalloc, and -vgpr-regalloc
You can’t perform that action at this time.
0 commit comments