Skip to content

Commit

Permalink
Convert test to use FileCheck.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209528 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
espindola committed May 23, 2014
1 parent 2bd2c56 commit c3be377
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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]
Expand All @@ -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]
Expand Down

0 comments on commit c3be377

Please sign in to comment.