[lld] r311348 - [lld] Update Tests for Emitting Single Inline Remark
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 21 09:41:59 PDT 2017
Author: lenary
Date: Mon Aug 21 09:41:59 2017
New Revision: 311348
URL: http://llvm.org/viewvc/llvm-project?rev=311348&view=rev
Log:
[lld] Update Tests for Emitting Single Inline Remark
Summary: This change depends on https://reviews.llvm.org/D36054 and should be landed at the same time.
Reviewers: anemet
Reviewed By: anemet
Subscribers: llvm-commits, emaste
Differential Revision: https://reviews.llvm.org/D36950
Modified:
lld/trunk/test/ELF/lto/opt-remarks.ll
Modified: lld/trunk/test/ELF/lto/opt-remarks.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/opt-remarks.ll?rev=311348&r1=311347&r2=311348&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/opt-remarks.ll (original)
+++ lld/trunk/test/ELF/lto/opt-remarks.ll Mon Aug 21 09:41:59 2017
@@ -15,13 +15,13 @@
; CHECK-NEXT: ret i32 %a.i
; CHECK-NEXT: }
-; YAML: --- !Analysis
+; YAML: --- !Passed
; YAML-NEXT: Pass: inline
-; YAML-NEXT: Name: CanBeInlined
+; YAML-NEXT: Name: Inlined
; YAML-NEXT: Function: main
; YAML-NEXT: Args:
; YAML-NEXT: - Callee: tinkywinky
-; YAML-NEXT: - String: ' can be inlined into '
+; YAML-NEXT: - String: ' inlined into '
; YAML-NEXT: - Caller: main
; YAML-NEXT: - String: ' with cost='
; YAML-NEXT: - Cost: '0'
@@ -29,19 +29,9 @@
; YAML-NEXT: - Threshold: '337'
; YAML-NEXT: - String: ')'
; YAML-NEXT: ...
-; YAML-NEXT: --- !Passed
-; YAML-NEXT: Pass: inline
-; YAML-NEXT: Name: Inlined
-; YAML-NEXT: Function: main
-; YAML-NEXT: Args:
-; YAML-NEXT: - Callee: tinkywinky
-; YAML-NEXT: - String: ' inlined into '
-; YAML-NEXT: - Caller: main
-; YAML-NEXT: ...
-; YAML-HOT: ...
-; YAML-HOT: --- !Passed
-; YAML-HOT: Pass: inline
+; YAML-HOT: --- !Passed
+; YAML-HOT-NEXT: Pass: inline
; YAML-HOT-NEXT: Name: Inlined
; YAML-HOT-NEXT: Function: main
; YAML-HOT-NEXT: Hotness: 300
@@ -49,6 +39,11 @@
; YAML-HOT-NEXT: - Callee: tinkywinky
; YAML-HOT-NEXT: - String: ' inlined into '
; YAML-HOT-NEXT: - Caller: main
+; YAML-HOT-NEXT: - String: ' with cost='
+; YAML-HOT-NEXT: - Cost: '0'
+; YAML-HOT-NEXT: - String: ' (threshold='
+; YAML-HOT-NEXT: - Threshold: '337'
+; YAML-HOT-NEXT: - String: ')'
; YAML-HOT-NEXT: ...
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
More information about the llvm-commits
mailing list