diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-23 16:51:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-05-23 16:51:13 +0000 |
commit | c3be377e3698cd834fe1c90acc2963c04f45e060 (patch) | |
tree | 79dc274c8f89b965613aed03ee6553788d9b0cdd | |
parent | 2bd2c560eeb5aeb29a2f33db267db16e62fb25ec (diff) | |
download | llvm-c3be377e3698cd834fe1c90acc2963c04f45e060.tar.gz llvm-c3be377e3698cd834fe1c90acc2963c04f45e060.tar.bz2 llvm-c3be377e3698cd834fe1c90acc2963c04f45e060.tar.xz |
Convert test to use FileCheck.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209528 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll b/test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll index e673d315a4..6052c102af 100644 --- a/test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll +++ b/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] |