OSDN Git Service

[AMDGPU] Add some missing check prefixes
authorJay Foad <jay.foad@amd.com>
Fri, 17 Jul 2020 11:56:29 +0000 (12:56 +0100)
committerJay Foad <jay.foad@amd.com>
Fri, 17 Jul 2020 11:56:29 +0000 (12:56 +0100)
llvm/test/CodeGen/AMDGPU/perfhint.ll

index a8990be..375a699 100644 (file)
@@ -1,8 +1,8 @@
 ; RUN: llc -march=amdgcn < %s | FileCheck -check-prefix=GCN %s
 
 ; GCN-LABEL: {{^}}test_membound:
-; MemoryBound: 1
-; WaveLimiterHint : 1
+; GCN: MemoryBound: 1
+; GCN: WaveLimiterHint : 1
 define amdgpu_kernel void @test_membound(<4 x i32> addrspace(1)* nocapture readonly %arg, <4 x i32> addrspace(1)* nocapture %arg1) {
 bb:
   %tmp = tail call i32 @llvm.amdgcn.workitem.id.x()
@@ -50,8 +50,8 @@ bb:
 }
 
 ; GCN-LABEL: {{^}}test_indirect:
-; MemoryBound: 0
-; WaveLimiterHint : 1
+; GCN: MemoryBound: 0
+; GCN: WaveLimiterHint : 1
 define amdgpu_kernel void @test_indirect(i32 addrspace(1)* nocapture %arg) {
 bb:
   %tmp = getelementptr inbounds i32, i32 addrspace(1)* %arg, i64 1