summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-05-23 16:51:13 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-05-23 16:51:13 +0000
commitfbe44200ce2a517b385d76f4f7d7fdaf9c743d41 (patch)
treeb297e42eb14281843a065e5f7743347d3f319335 /llvm/test/CodeGen
parente8103abdbc6729e471988d0dbd13b5c46c0fb41b (diff)
downloadbcm5719-llvm-fbe44200ce2a517b385d76f4f7d7fdaf9c743d41.tar.gz
bcm5719-llvm-fbe44200ce2a517b385d76f4f7d7fdaf9c743d41.zip
Convert test to use FileCheck.
llvm-svn: 209528
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll b/llvm/test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll
index e673d315a43..6052c102af6 100644
--- a/llvm/test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll
+++ b/llvm/test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -relocation-model=pic | grep TLSGD | count 2
+; RUN: llc < %s -relocation-model=pic | FileCheck %s
; PR2137
; ModuleID = '1.c'
@@ -11,6 +11,8 @@ target triple = "i386-pc-linux-gnu"
@__libc_resp = hidden alias %struct.__res_state** @__resp ; <%struct.__res_state**> [#uses=2]
define i32 @foo() {
+; CHECK-LABEL: foo:
+; CHECK: leal __libc_resp@TLSGD
entry:
%retval = alloca i32 ; <i32*> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
@@ -24,6 +26,8 @@ return: ; preds = %entry
}
define i32 @bar() {
+; CHECK-LABEL: bar:
+; CHECK: leal __libc_resp@TLSGD
entry:
%retval = alloca i32 ; <i32*> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
OpenPOWER on IntegriCloud