[llvm] r267306 - Relax test using CHECK-DAG instead of CHECK-NEXT

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 23 17:25:15 PDT 2016


Author: mehdi_amini
Date: Sat Apr 23 19:25:15 2016
New Revision: 267306

URL: http://llvm.org/viewvc/llvm-project?rev=267306&view=rev
Log:
Relax test using CHECK-DAG instead of CHECK-NEXT

It seems we still have some ordering issue in the combined index
emission, but I can't figure out why right now.

From: Mehdi Amini <mehdi.amini at apple.com>

Modified:
    llvm/trunk/test/Bitcode/thinlto-function-summary-originalnames.ll

Modified: llvm/trunk/test/Bitcode/thinlto-function-summary-originalnames.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Bitcode/thinlto-function-summary-originalnames.ll?rev=267306&r1=267305&r2=267306&view=diff
==============================================================================
--- llvm/trunk/test/Bitcode/thinlto-function-summary-originalnames.ll (original)
+++ llvm/trunk/test/Bitcode/thinlto-function-summary-originalnames.ll Sat Apr 23 19:25:15 2016
@@ -4,12 +4,12 @@
 ; RUN: llvm-bcanalyzer -dump %t.index.bc | FileCheck %s --check-prefix=COMBINED
 
 ; COMBINED:       <GLOBALVAL_SUMMARY_BLOCK
-; COMBINED-NEXT:    <COMBINED
-; COMBINED-NEXT:    <COMBINED_ORIGINAL_NAME op0=6699318081062747564/>
-; COMBINED-NEXT:    <COMBINED_GLOBALVAR_INIT_REFS
-; COMBINED-NEXT:    <COMBINED_ORIGINAL_NAME op0=-2012135647395072713/>
-; COMBINED-NEXT:    <COMBINED_ALIAS
-; COMBINED-NEXT:    <COMBINED_ORIGINAL_NAME op0=-4170563161550796836/>
+; COMBINED-DAG:    <COMBINED
+; COMBINED-DAG:    <COMBINED_ORIGINAL_NAME op0=6699318081062747564/>
+; COMBINED-DAG:    <COMBINED_GLOBALVAR_INIT_REFS
+; COMBINED-DAG:    <COMBINED_ORIGINAL_NAME op0=-2012135647395072713/>
+; COMBINED-DAG:    <COMBINED_ALIAS
+; COMBINED-DAG:    <COMBINED_ORIGINAL_NAME op0=-4170563161550796836/>
 ; COMBINED-NEXT:  </GLOBALVAL_SUMMARY_BLOCK>
 ; COMBINED-NEXT:  <VALUE_SYMTAB
 ; COMBINED-NEXT:   <COMBINED_GVDEFENTRY {{.*}} op2=4947176790635855146/>




More information about the llvm-commits mailing list