Skip to content

Commit

Permalink
[AMDGPU][Waitcnt] Update a few tests to use default waitcnt pass (si-…
Browse files Browse the repository at this point in the history
…insert-waitcnts) rather than old pass (si-insert-waits); this is a small step towards the overall goal of removing the old waitcnt pass, which is no longer maintained.

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

llvm-svn: 331062
  • Loading branch information
searlmc1 committed Apr 27, 2018
1 parent de5a1da commit a632292
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
@@ -1,4 +1,4 @@
# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -run-pass si-insert-waits -o - %s | FileCheck %s
# RUN: llc -mtriple=amdgcn-amd-amdhsa -mcpu=fiji -verify-machineinstrs -run-pass si-insert-waitcnts -o - %s | FileCheck %s
--- |
define float @entry_callee_wait(float %arg) #0 {
ret float %arg
Expand Down
@@ -1,4 +1,4 @@
# RUN: llc -march=amdgcn -verify-machineinstrs -run-pass si-insert-waits -o - %s | FileCheck %s
# RUN: llc -march=amdgcn -verify-machineinstrs -run-pass si-insert-waitcnts -o - %s | FileCheck %s
--- |
define amdgpu_ps <4 x float> @exp_done_waitcnt(<4 x i32> inreg, <4 x
i32> inreg, i32 inreg %w, float %v) #0 {
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/AMDGPU/scalar-store-cache-flush.mir
@@ -1,4 +1,4 @@
# RUN: llc -march=amdgcn -run-pass si-insert-waits %s -o - | FileCheck %s
# RUN: llc -march=amdgcn -run-pass si-insert-waitcnts %s -o - | FileCheck %s

--- |
define amdgpu_kernel void @basic_insert_dcache_wb() {
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/AMDGPU/waitcnt-permute.mir
@@ -1,4 +1,4 @@
# RUN: llc -mtriple=amdgcn -mcpu=fiji -verify-machineinstrs -run-pass si-insert-waits -o - %s | FileCheck %s
# RUN: llc -mtriple=amdgcn -mcpu=fiji -verify-machineinstrs -run-pass si-insert-waitcnts -o - %s | FileCheck %s

...
# CHECK-LABEL: name: waitcnt-permute{{$}}
Expand Down

0 comments on commit a632292

Please sign in to comment.