aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/AArch64/arm64-spill-remarks.ll')
-rw-r--r--llvm/test/CodeGen/AArch64/arm64-spill-remarks.ll14
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AArch64/arm64-spill-remarks.ll b/llvm/test/CodeGen/AArch64/arm64-spill-remarks.ll
index 2d187a744458..53a2a784cd53 100644
--- a/llvm/test/CodeGen/AArch64/arm64-spill-remarks.ll
+++ b/llvm/test/CodeGen/AArch64/arm64-spill-remarks.ll
@@ -22,6 +22,8 @@
; REMARK: remark: /tmp/kk.c:2:20: 1 spills 1 reloads generated in loop{{$}}
; (loop:)
; REMARK: remark: /tmp/kk.c:1:20: 2 spills 2 reloads generated in loop{{$}}
+; (func:)
+; REMARK: remark: <unknown>:0:0: 3 spills 3 reloads generated in function{{$}}
; (loop3:)
; HOTNESS: remark: /tmp/kk.c:3:20: 1 spills 1 reloads generated in loop (hotness: 300)
@@ -74,6 +76,18 @@
; YAML: - String: ' reloads '
; YAML: - String: generated in loop
; YAML: ...
+; YAML: --- !Missed
+; YAML: Pass: regalloc
+; YAML: Name: SpillReload
+; YAML: Function: fpr128
+; YAML: Hotness: 3
+; YAML: Args:
+; YAML: - NumSpills: '3'
+; YAML: - String: ' spills '
+; YAML: - NumReloads: '3'
+; YAML: - String: ' reloads '
+; YAML: - String: generated in function
+; YAML: ...
; THRESHOLD_YAML-NOT: Hotness: 300{{$}}
; THRESHOLD_YAML: --- !Missed