[llvm] r270719 - [ThinLTO] Fix test check prefix so that intended prefix tested

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed May 25 09:45:09 PDT 2016


Author: tejohnson
Date: Wed May 25 11:45:08 2016
New Revision: 270719

URL: http://llvm.org/viewvc/llvm-project?rev=270719&view=rev
Log:
[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).

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

Modified: llvm/trunk/test/ThinLTO/X86/alias_resolution.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ThinLTO/X86/alias_resolution.ll?rev=270719&r1=270718&r2=270719&view=diff
==============================================================================
--- llvm/trunk/test/ThinLTO/X86/alias_resolution.ll (original)
+++ llvm/trunk/test/ThinLTO/X86/alias_resolution.ll Wed May 25 11:45:08 2016
@@ -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
 




More information about the llvm-commits mailing list