1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; Check that we accept functions with '$' in the name.
3
4; RUN: llc -mtriple=amdgcn-amd-amdhsa < %s | FileCheck %s
5
6define hidden i32 @"_Z54bar$ompvariant$bar"() {
7; CHECK-LABEL: _Z54bar$ompvariant$bar:
8; CHECK:       ; %bb.0: ; %entry
9; CHECK-NEXT:    s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
10; CHECK-NEXT:    v_mov_b32_e32 v0, 2
11; CHECK-NEXT:    s_setpc_b64 s[30:31]
12entry:
13  ret i32 2
14}
15