diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-07-13 17:30:25 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-07-13 17:30:25 +0000 |
commit | e7d26f9b494a84df8369a532eaed8abd21d8d732 (patch) | |
tree | 3b5eaaedda6fcd356141e913df04d24a8f2b5abf /llvm/test/CodeGen/X86/private.ll | |
parent | 9a3512b11ddaf3d18fc563e9b2a5ce4cdcc58f52 (diff) | |
download | bcm5719-llvm-e7d26f9b494a84df8369a532eaed8abd21d8d732.tar.gz bcm5719-llvm-e7d26f9b494a84df8369a532eaed8abd21d8d732.zip |
Convert a couple of grep tests to FileCheck.
llvm-svn: 186250
Diffstat (limited to 'llvm/test/CodeGen/X86/private.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/private.ll | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/private.ll b/llvm/test/CodeGen/X86/private.ll index 484afc9b5af..557bbd28165 100644 --- a/llvm/test/CodeGen/X86/private.ll +++ b/llvm/test/CodeGen/X86/private.ll @@ -1,18 +1,22 @@ ; Test to make sure that the 'private' is used correctly. ; -; RUN: llc < %s -mtriple=x86_64-pc-linux | grep .Lfoo: -; RUN: llc < %s -mtriple=x86_64-pc-linux | grep call.*\.Lfoo -; RUN: llc < %s -mtriple=x86_64-pc-linux | grep .Lbaz: -; RUN: llc < %s -mtriple=x86_64-pc-linux | grep movl.*\.Lbaz +; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s define private void @foo() { ret void -} -@baz = private global i32 4 +; CHECK: .Lfoo: +} define i32 @bar() { call void @foo() %1 = load i32* @baz, align 4 ret i32 %1 + +; CHECK: bar: +; CHECK: callq .Lfoo +; CHECK: movl .Lbaz(%rip) } + +@baz = private global i32 4 +; CHECK: .Lbaz: |