diff options
author | Teresa Johnson <tejohnson@google.com> | 2018-05-26 03:50:29 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2018-05-26 03:50:29 +0000 |
commit | fb89e7a943bb4cf32a9b61817654b735ff737dc3 (patch) | |
tree | 85364d04ce6d1cf081b1fcffbd443d864e996167 /llvm/test/Assembler | |
parent | 365ed5948ee262063fe6c24b73fb975dc28bf292 (diff) | |
download | bcm5719-llvm-fb89e7a943bb4cf32a9b61817654b735ff737dc3.tar.gz bcm5719-llvm-fb89e7a943bb4cf32a9b61817654b735ff737dc3.zip |
[ThinLTO] Fix a few more test match issues
Fix a few more bot failures due to r333335:
- don't match path other than file name, since the delimiter is
different for Windows
- The summary IDs in thinlto-function-summary-refgraph.ll may vary
and therefore can't be matched exactly, because the ordering depends
on the iteration order of the index map which is keyed by GUID. The GUID
for private values will depend on the path.
llvm-svn: 333338
Diffstat (limited to 'llvm/test/Assembler')
-rw-r--r-- | llvm/test/Assembler/thinlto-bad-summary1.ll | 2 | ||||
-rw-r--r-- | llvm/test/Assembler/thinlto-bad-summary2.ll | 2 | ||||
-rw-r--r-- | llvm/test/Assembler/thinlto-bad-summary3.ll | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Assembler/thinlto-bad-summary1.ll b/llvm/test/Assembler/thinlto-bad-summary1.ll index 394506317d9..1876e5a3e7d 100644 --- a/llvm/test/Assembler/thinlto-bad-summary1.ll +++ b/llvm/test/Assembler/thinlto-bad-summary1.ll @@ -14,5 +14,5 @@ entry: ret i32 1 } -^0 = module: (path: "{{.*}}/test/Assembler/thinlto-bad-summary1.ll", hash: (0, 0, 0, 0, 0)) +^0 = module: (path: "{{.*}}thinlto-bad-summary1.ll", hash: (0, 0, 0, 0, 0)) ^1 = () diff --git a/llvm/test/Assembler/thinlto-bad-summary2.ll b/llvm/test/Assembler/thinlto-bad-summary2.ll index b736c101adc..43315403556 100644 --- a/llvm/test/Assembler/thinlto-bad-summary2.ll +++ b/llvm/test/Assembler/thinlto-bad-summary2.ll @@ -14,5 +14,5 @@ entry: ret i32 1 } -^0 = module: (path: "{{.*}}/test/Assembler/thinlto-bad-summary1.ll", hash: (0, 0, 0, 0, 0)) +^0 = module: (path: "{{.*}}thinlto-bad-summary1.ll", hash: (0, 0, 0, 0, 0)) ^1 = gv: )( diff --git a/llvm/test/Assembler/thinlto-bad-summary3.ll b/llvm/test/Assembler/thinlto-bad-summary3.ll index 1855a3d4dd8..12348fa4975 100644 --- a/llvm/test/Assembler/thinlto-bad-summary3.ll +++ b/llvm/test/Assembler/thinlto-bad-summary3.ll @@ -14,6 +14,6 @@ entry: ret i32 1 } -^0 = module: (path: "{{.*}}/test/Assembler/thinlto-bad-summary1.ll", hash: (0, 0, 0, 0, 0)) +^0 = module: (path: "{{.*}}thinlto-bad-summary1.ll", hash: (0, 0, 0, 0, 0)) ; Missing a ')' ^1 = gv: (name: "main", summaries: (function: (module: ^0, flags: (linkage: external, notEligibleToImport: 0, live: 0, dsoLocal: 0), insts: 1)) ; guid = 15822663052811949562 |