| 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=armv7-unknown-linux < %s | FileCheck %s |
| 5 |
; RUN: llc -mtriple=armv7-apple-darwin < %s | FileCheck %s |
| 6 |
; RUN: llc -mtriple=armv7-apple-ios < %s | FileCheck %s |
| 7 |
|
| 8 |
define hidden i32 @"_Z54bar$ompvariant$bar"() { |
| 9 |
; CHECK-LABEL: _Z54bar$ompvariant$bar: |
| 10 |
; CHECK: @ %bb.0: @ %entry |
| 11 |
; CHECK-NEXT: mov r0, #2 |
| 12 |
; CHECK-NEXT: bx lr |
| 13 |
entry: |
| 14 |
ret i32 2 |
| 15 |
} |