[llvm] r288518 - Make LTO opt-remarks tests matching stricter
Adam Nemet via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 2 09:53:50 PST 2016
Author: anemet
Date: Fri Dec 2 11:53:49 2016
New Revision: 288518
URL: http://llvm.org/viewvc/llvm-project?rev=288518&view=rev
Log:
Make LTO opt-remarks tests matching stricter
This ensures that we don't generate the hotness attribute by default.
Modified:
llvm/trunk/test/LTO/X86/diagnostic-handler-remarks.ll
llvm/trunk/test/ThinLTO/X86/diagnostic-handler-remarks.ll
Modified: llvm/trunk/test/LTO/X86/diagnostic-handler-remarks.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/LTO/X86/diagnostic-handler-remarks.ll?rev=288518&r1=288517&r2=288518&view=diff
==============================================================================
--- llvm/trunk/test/LTO/X86/diagnostic-handler-remarks.ll (original)
+++ llvm/trunk/test/LTO/X86/diagnostic-handler-remarks.ll Fri Dec 2 11:53:49 2016
@@ -44,15 +44,15 @@
; NM: func2
; NM: main
-; YAML: --- !Passed
-; YAML: Pass: inline
-; YAML: Name: Inlined
-; YAML: Function: main
-; YAML: Args:
-; YAML: - Callee: foo
-; YAML: - String: ' inlined into '
-; YAML: - Caller: main
-; YAML: ...
+; YAML: --- !Passed
+; YAML-NEXT: Pass: inline
+; YAML-NEXT: Name: Inlined
+; YAML-NEXT: Function: main
+; YAML-NEXT: Args:
+; YAML-NEXT: - Callee: foo
+; YAML-NEXT: - String: ' inlined into '
+; YAML-NEXT: - Caller: main
+; YAML-NEXT: ...
target triple = "x86_64-apple-darwin"
Modified: llvm/trunk/test/ThinLTO/X86/diagnostic-handler-remarks.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ThinLTO/X86/diagnostic-handler-remarks.ll?rev=288518&r1=288517&r2=288518&view=diff
==============================================================================
--- llvm/trunk/test/ThinLTO/X86/diagnostic-handler-remarks.ll (original)
+++ llvm/trunk/test/ThinLTO/X86/diagnostic-handler-remarks.ll Fri Dec 2 11:53:49 2016
@@ -13,28 +13,28 @@
; Verify that bar is imported and inlined into foo
; RUN: cat %t.yaml.thin.0.yaml | FileCheck %s -check-prefix=YAML1
-; YAML1: --- !Passed
-; YAML1: Pass: inline
-; YAML1: Name: Inlined
-; YAML1: Function: main
-; YAML1: Args:
-; YAML1: - Callee: foo
-; YAML1: - String: ' inlined into '
-; YAML1: - Caller: main
-; YAML1: ...
+; YAML1: --- !Passed
+; YAML1-NEXT: Pass: inline
+; YAML1-NEXT: Name: Inlined
+; YAML1-NEXT: Function: main
+; YAML1-NEXT: Args:
+; YAML1-NEXT: - Callee: foo
+; YAML1-NEXT: - String: ' inlined into '
+; YAML1-NEXT: - Caller: main
+; YAML1-NEXT: ...
; Verify that bar is imported and inlined into foo
; RUN: cat %t.yaml.thin.1.yaml | FileCheck %s -check-prefix=YAML2
; YAML2: --- !Passed
-; YAML2: Pass: inline
-; YAML2: Name: Inlined
-; YAML2: Function: foo
-; YAML2: Args:
-; YAML2: - Callee: bar
-; YAML2: - String: ' inlined into '
-; YAML2: - Caller: foo
-; YAML2: ...
+; YAML2-NEXT: Pass: inline
+; YAML2-NEXT: Name: Inlined
+; YAML2-NEXT: Function: foo
+; YAML2-NEXT: Args:
+; YAML2-NEXT: - Callee: bar
+; YAML2-NEXT: - String: ' inlined into '
+; YAML2-NEXT: - Caller: foo
+; YAML2-NEXT: ...
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
More information about the llvm-commits
mailing list