[llvm] r316544 - [ThinLTO] Make test for promoted names more specific

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 20:41:31 PDT 2017


Author: tejohnson
Date: Tue Oct 24 20:41:31 2017
New Revision: 316544

URL: http://llvm.org/viewvc/llvm-project?rev=316544&view=rev
Log:
[ThinLTO] Make test for promoted names more specific

With r314527, promoted values get a suffix that is a decimal value of
the module hash instead of hex. Change the regex to match only decimal
suffix values.

Modified:
    llvm/trunk/test/ThinLTO/X86/local_name_conflict.ll

Modified: llvm/trunk/test/ThinLTO/X86/local_name_conflict.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ThinLTO/X86/local_name_conflict.ll?rev=316544&r1=316543&r2=316544&view=diff
==============================================================================
--- llvm/trunk/test/ThinLTO/X86/local_name_conflict.ll (original)
+++ llvm/trunk/test/ThinLTO/X86/local_name_conflict.ll Tue Oct 24 20:41:31 2017
@@ -12,7 +12,7 @@
 ; that module (%t3.bc) to be imported. Check that the imported reference's
 ; promoted name matches the imported copy.
 ; RUN: llvm-lto -thinlto-action=import %t.bc -thinlto-index=%t4.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=IMPORT
-; IMPORT: call i32 @foo.llvm.[[HASH:[0-9A-F]+]]
+; IMPORT: call i32 @foo.llvm.[[HASH:[0-9]+]]
 ; IMPORT: define available_externally hidden i32 @foo.llvm.[[HASH]]()
 
 ; The copy in %t2.bc should not be exported/promoted/renamed




More information about the llvm-commits mailing list