; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py ; Check that we accept functions with '$' in the name. ; RUN: llc -mtriple=lanai-unknown-linux < %s | FileCheck %s define hidden i32 @"_Z54bar$ompvariant$bar"() { ; CHECK-LABEL: _Z54bar$ompvariant$bar: ; CHECK: ! %bb.0: ! %entry ; CHECK-NEXT: st %fp, [--%sp] ; CHECK-NEXT: add %sp, 0x8, %fp ; CHECK-NEXT: sub %sp, 0x8, %sp ; CHECK-NEXT: mov 0x2, %rv ; CHECK-NEXT: ld -4[%fp], %pc ! return ; CHECK-NEXT: add %fp, 0x0, %sp ; CHECK-NEXT: ld -8[%fp], %fp entry: ret i32 2 }