diff options
| author | Justin Bogner <mail@justinbogner.com> | 2017-02-24 01:13:09 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2017-02-24 01:13:09 +0000 |
| commit | d75fd0988d1e8f2393363ebdd31fc0325a4ba82a (patch) | |
| tree | e8931772a8f854b95545ebe5f142bb0c82d45f13 | |
| parent | 12e79d50020bb374a93077939d6a719d0aede298 (diff) | |
| download | bcm5719-llvm-d75fd0988d1e8f2393363ebdd31fc0325a4ba82a.tar.gz bcm5719-llvm-d75fd0988d1e8f2393363ebdd31fc0325a4ba82a.zip | |
OptDiag: Add test for r296053
Forgot to commit this with the change.
llvm-svn: 296061
| -rw-r--r-- | llvm/test/CodeGen/AArch64/arm64-summary-remarks.ll | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AArch64/arm64-summary-remarks.ll b/llvm/test/CodeGen/AArch64/arm64-summary-remarks.ll new file mode 100644 index 00000000000..70e7fdffd63 --- /dev/null +++ b/llvm/test/CodeGen/AArch64/arm64-summary-remarks.ll @@ -0,0 +1,15 @@ +; RUN: llc < %s -mtriple=arm64-apple-ios7.0 -pass-remarks-analysis=asm-printer 2>&1 | FileCheck %s + +; CHECK: arm64-summary-remarks.ll:5:0: 1 instructions in function + +define void @empty_func() nounwind ssp !dbg !3 { + ret void +} + +!llvm.dbg.cu = !{!0} +!llvm.module.flags = !{!2} + +!0 = distinct !DICompileUnit(language: DW_LANG_C, file: !1) +!1 = !DIFile(filename: "arm64-summary-remarks.ll", directory: "") +!2 = !{i32 2, !"Debug Info Version", i32 3} +!3 = distinct !DISubprogram(name: "empty_func", scope: !1, file: !1, line: 5, scopeLine: 5, unit: !0) |

