[MachineScheduler] Fix physreg dependencies of ExitSU (#123541)
[llvm-project.git] / llvm / test / CodeGen / AMDGPU / tid-mul-func-xnack-invalid-any-off-on.ll
blob0f54d783484dd4a187c49242e5807ee4140fbdac
1 ; RUN: not llc -mtriple=amdgcn-amd-amdhsa -mcpu=gfx900 < %s 2>&1 | FileCheck --check-prefixes=ERR %s
3 ; ERR: error: xnack setting of 'func2' function does not match module xnack setting
5 define void @func0() {
6 entry:
7   ret void
10 define void @func1() #0 {
11 entry:
12   ret void
15 define void @func2() #1 {
16 entry:
17   ret void
20 attributes #0 = { "target-features"="-xnack" }
21 attributes #1 = { "target-features"="+xnack" }
23 !llvm.module.flags = !{!0}
24 !0 = !{i32 1, !"amdhsa_code_object_version", i32 400}