diff options
| author | Teresa Johnson <tejohnson@google.com> | 2017-10-25 03:41:31 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2017-10-25 03:41:31 +0000 |
| commit | f99c84d548f142ea9df054b889d33311f8a4497f (patch) | |
| tree | 9efeb2dabfb292d25f7fa2192f61467aaeb2dde1 | |
| parent | 689e6c052e0514020e4a2c7623cb49056888c502 (diff) | |
| download | bcm5719-llvm-f99c84d548f142ea9df054b889d33311f8a4497f.tar.gz bcm5719-llvm-f99c84d548f142ea9df054b889d33311f8a4497f.zip | |
[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.
llvm-svn: 316544
| -rw-r--r-- | llvm/test/ThinLTO/X86/local_name_conflict.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/ThinLTO/X86/local_name_conflict.ll b/llvm/test/ThinLTO/X86/local_name_conflict.ll index ea2922ed9b9..e4eb33e524d 100644 --- a/llvm/test/ThinLTO/X86/local_name_conflict.ll +++ b/llvm/test/ThinLTO/X86/local_name_conflict.ll @@ -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 |

