xref: /llvm-project/llvm/test/Other/amdgpu-pass-pipeline-parsing.ll (revision 786c409234b0891b8a455d96b08eda61b53b7fed)
1; REQUIRES: amdgpu-registered-target
2
3; RUN: not opt -S -mtriple=amdgcn-amd-amdhsa -passes='amdgpu-attributor<random>' -disable-output %s 2>&1 | FileCheck %s
4
5; CHECK: amdgpu-attributor: invalid AMDGPUAttributor pass parameter 'random'
6
7define void @f() {
8entry:
9 br label %loop
10loop:
11 br label %loop
12}
13