blob: 053a754736368a062ab1665f4c42dd1e8c077978 [file] [log] [blame]
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; Check that we accept functions with '$' in the name.
;
; RUN: llc -mtriple=riscv32-unknown-linux < %s | FileCheck %s
;
define hidden i32 @"_Z54bar$ompvariant$bar"() {
; CHECK-LABEL: _Z54bar$ompvariant$bar:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: li a0, 2
; CHECK-NEXT: ret
entry:
ret i32 2
}