[llvm] r203173 - Convert test to FileCheck.

Rafael Espindola rafael.espindola at gmail.com
Thu Mar 6 14:21:43 PST 2014


Author: rafael
Date: Thu Mar  6 16:21:43 2014
New Revision: 203173

URL: http://llvm.org/viewvc/llvm-project?rev=203173&view=rev
Log:
Convert test to FileCheck.

Modified:
    llvm/trunk/test/CodeGen/X86/darwin-no-dead-strip.ll

Modified: llvm/trunk/test/CodeGen/X86/darwin-no-dead-strip.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/darwin-no-dead-strip.ll?rev=203173&r1=203172&r2=203173&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/darwin-no-dead-strip.ll (original)
+++ llvm/trunk/test/CodeGen/X86/darwin-no-dead-strip.ll Thu Mar  6 16:21:43 2014
@@ -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"
- at x = weak global i32 0          ; <i32*> [#uses=1]
- at llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @x to i8*) ]                ; <[1 x i8*]*> [#uses=0]
 
+ at x = weak global i32 0
+; CHECK: .no_dead_strip	_x
+
+ at llvm.used = appending global [1 x i8*] [ i8* bitcast (i32* @x to i8*) ]





More information about the llvm-commits mailing list