Convert test to FileCheck.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 6 Mar 2014 22:21:43 +0000 (22:21 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 6 Mar 2014 22:21:43 +0000 (22:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203173 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/X86/darwin-no-dead-strip.ll

index 452d1f8ce3922c246d4414b9f55502c6e4860b98..edbd8aaa06727f99ef58c3f030f57a615bab85d3 100644 (file)
@@ -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          ; <i32*> [#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*) ]