Compiler projects using llvm
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; Check that we accept functions with '$' in the name.

; RUN: llc -mtriple=hexagon-unknown-linux < %s | FileCheck %s

define hidden i32 @"_Z54bar$ompvariant$bar"() {
; CHECK-LABEL: _Z54bar$ompvariant$bar:
; CHECK:         .cfi_startproc
; CHECK-NEXT:  // %bb.0: // %entry
; CHECK-NEXT:    {
; CHECK-NEXT:     r0 = #2
; CHECK-NEXT:     jumpr r31
; CHECK-NEXT:    }
entry:
  ret i32 2
}