summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-05-25 16:45:08 +0000
committerTeresa Johnson <tejohnson@google.com>2016-05-25 16:45:08 +0000
commitbef0eb001be6ec33caae8984c7a7fe9b7a841b13 (patch)
tree039ec8858a5543ed2ff1924ead611f12b52e7746
parent3955360b24c7c70f2dcf301a3f59a2fc89e50238 (diff)
downloadbcm5719-llvm-bef0eb001be6ec33caae8984c7a7fe9b7a841b13.tar.gz
bcm5719-llvm-bef0eb001be6ec33caae8984c7a7fe9b7a841b13.zip
[ThinLTO] Fix test check prefix so that intended prefix tested
There aren't any checks with prefix PROMOTE, should be PROMOTE_MOD1 which wasn't being tested (but works as expected). llvm-svn: 270719
-rw-r--r--llvm/test/ThinLTO/X86/alias_resolution.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/ThinLTO/X86/alias_resolution.ll b/llvm/test/ThinLTO/X86/alias_resolution.ll
index 29a01ff9008..9a26a10980b 100644
--- a/llvm/test/ThinLTO/X86/alias_resolution.ll
+++ b/llvm/test/ThinLTO/X86/alias_resolution.ll
@@ -2,7 +2,7 @@
; RUN: opt -module-summary %p/Inputs/alias_resolution.ll -o %t2.bc
; RUN: llvm-lto -thinlto-action=thinlink -o %t.index.bc %t1.bc %t2.bc
; RUN: llvm-lto -thinlto-action=promote -thinlto-index %t.index.bc %t2.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=PROMOTE_MOD2 --check-prefix=NOTPROMOTED
-; RUN: llvm-lto -thinlto-action=promote -thinlto-index %t.index.bc %t1.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=PROMOTE --check-prefix=NOTPROMOTED
+; RUN: llvm-lto -thinlto-action=promote -thinlto-index %t.index.bc %t1.bc -o - | llvm-dis -o - | FileCheck %s --check-prefix=PROMOTE_MOD1 --check-prefix=NOTPROMOTED
; There is no importing going on with this IR, but let's check the ODR resolution for compile time
OpenPOWER on IntegriCloud