================ @@ -2,11 +2,17 @@ # 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 # RUN: not llc -mtriple=amdgcn --passes='regallocfast<filter=bad-filter>' --print-pipeline-passes --filetype=null %s 2>&1 | FileCheck %s --check-prefix=BAD-FILTER +# 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 + + # PASS: regallocfast<filter=sgpr> # PASS: regallocfast<filter=wwm> # PASS: regallocfast<filter=vgpr> # BAD-FILTER: invalid regallocfast register filter 'bad-filter' +# NPM-PASS: greedy<sgpr> +# NPM-PASS: regallocfast<filter=wwm;no-clear-vregs> ---------------- arsenm wrote:
How else would you test this part of the pipeline standalone https://github.com/llvm/llvm-project/pull/129035 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits