From: Rafael Espindola Date: Thu, 6 Mar 2014 22:21:43 +0000 (+0000) Subject: Convert test to FileCheck. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e7147c1b577d63fb21a623b600afeb10093e5549;p=oota-llvm.git Convert test to FileCheck. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203173 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/X86/darwin-no-dead-strip.ll b/test/CodeGen/X86/darwin-no-dead-strip.ll index 452d1f8ce39..edbd8aaa067 100644 --- a/test/CodeGen/X86/darwin-no-dead-strip.ll +++ b/test/CodeGen/X86/darwin-no-dead-strip.ll @@ -1,7 +1,9 @@ -; RUN: llc < %s | grep no_dead_strip +; RUN: llc < %s | FileCheck %s target datalayout = "e-p:32:32" target triple = "i686-apple-darwin8.7.2" -@x = weak global i32 0 ; [#uses=1] -@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @x to i8*) ] ; <[1 x i8*]*> [#uses=0] +@x = weak global i32 0 +; CHECK: .no_dead_strip _x + +@llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @x to i8*) ]