[llvm] r212103 - GlobalOpt: FileCheck-ize test
David Majnemer
david.majnemer at gmail.com
Tue Jul 1 08:26:47 PDT 2014
Author: majnemer
Date: Tue Jul 1 10:26:47 2014
New Revision: 212103
URL: http://llvm.org/viewvc/llvm-project?rev=212103&view=rev
Log:
GlobalOpt: FileCheck-ize test
No functionality change.
Modified:
llvm/trunk/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll
Modified: llvm/trunk/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll?rev=212103&r1=212102&r2=212103&view=diff
==============================================================================
--- llvm/trunk/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll (original)
+++ llvm/trunk/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll Tue Jul 1 10:26:47 2014
@@ -1,9 +1,11 @@
-; RUN: opt < %s -globalopt -S | grep internal | count 2
+; RUN: opt < %s -globalopt -S | FileCheck %s
global i32 0
+; CHECK: @0 = internal global i32 0
define i32* @1() {
ret i32* @0
}
+; CHECK: define internal fastcc i32* @1()
define i32* @f() {
entry:
call i32* @1()
More information about the llvm-commits
mailing list