Nirav Dave | 6e0b732 | 2016-08-01 15:36:10 +0000 | [diff] [blame] | 1 | ; RUN: llc %s -o - | sed -n -e '/@APP/,/@NO_APP/p' > %t |
| 2 | ; RUN: sed -n -e 's/^;CHECK://p' %s > %t2 |
| 3 | ; RUN: diff %t %t2 |
| 4 | |
| 5 | target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" |
| 6 | target triple = "arm-eabi" |
| 7 | |
| 8 | ; Function Attrs: nounwind uwtable |
| 9 | define void @foo() #0 { |
| 10 | entry: |
| 11 | call void asm sideeffect "#isolated preprocessor comment", "~{dirflag},~{fpsr},~{flags}"() #0 |
| 12 | ;CHECK: @APP |
| 13 | ;CHECK: @isolated preprocessor comment |
| 14 | ;CHECK: @NO_APP |
| 15 | ret void |
| 16 | } |
| 17 | |
| 18 | attributes #0 = { nounwind } |
| 19 | |
| 20 | !llvm.ident = !{!0} |
| 21 | |
| 22 | !0 = !{!""} |