aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/Other/amdgpu-pass-pipeline-parsing.ll
blob: 032c2b9d297bba50c4a63cab181f6ad51f659a1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; REQUIRES: amdgpu-registered-target

; RUN: not opt -S -mtriple=amdgcn-amd-amdhsa -passes='amdgpu-attributor<random>' -disable-output %s 2>&1 | FileCheck %s

; CHECK: amdgpu-attributor: invalid AMDGPUAttributor pass parameter 'random'

define void @f() {
entry:
 br label %loop
loop:
 br label %loop
}