Skip to content

Commit b85a8ef

Browse files
committed
add wwm flag to the test
1 parent ff3ebf3 commit b85a8ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/test/tools/llc/new-pm/regalloc-amdgpu.mir

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# RUN: llc -mtriple=amdgcn --passes='regallocfast<filter=sgpr>,regallocfast<filter=wwm>,regallocfast<filter=vgpr>' --print-pipeline-passes --filetype=null %s | FileCheck %s --check-prefix=PASS
33
# RUN: not llc -mtriple=amdgcn --passes='regallocfast<filter=bad-filter>' --print-pipeline-passes --filetype=null %s 2>&1 | FileCheck %s --check-prefix=BAD-FILTER
44

5-
# RUN: llc -mtriple=amdgcn -enable-new-pm -sgpr-regalloc-npm=greedy -vgpr-regalloc-npm=fast -print-pipeline-passes %s | FileCheck %s --check-prefix=NPM-PASS
5+
# RUN: llc -mtriple=amdgcn -enable-new-pm -sgpr-regalloc-npm=greedy -wwm-regalloc-npm=fast -vgpr-regalloc-npm=fast -print-pipeline-passes %s | FileCheck %s --check-prefix=NPM-PASS
66

77

88
# PASS: regallocfast<filter=sgpr>
@@ -11,6 +11,7 @@
1111
# BAD-FILTER: invalid regallocfast register filter 'bad-filter'
1212

1313
# NPM-PASS: greedy<sgpr>
14+
# NPM-PASS: regallocfast<filter=wwm;no-clear-vregs>
1415
# NPM-PASS: regallocfast<filter=vgpr>
1516
---
1617
name: f

0 commit comments

Comments
 (0)