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=hexagon-unknown-linux < %s | FileCheck %s
5
6define hidden i32 @"_Z54bar$ompvariant$bar"() {
7; CHECK-LABEL: _Z54bar$ompvariant$bar:
8; CHECK:         .cfi_startproc
9; CHECK-NEXT:  // %bb.0: // %entry
10; CHECK-NEXT:    {
11; CHECK-NEXT:     r0 = #2
12; CHECK-NEXT:     jumpr r31
13; CHECK-NEXT:    }
14entry:
15  ret i32 2
16}
17