diff options
author | Richard Osborne <richard@xmos.com> | 2011-11-01 10:41:28 +0000 |
---|---|---|
committer | Richard Osborne <richard@xmos.com> | 2011-11-01 10:41:28 +0000 |
commit | 8591b6b0ab3e95b4865397543b11ccc16edd5203 (patch) | |
tree | b8cca4cc83442b0abd753cb81f1885e7b5950e44 /llvm/test/CodeGen/XCore/private.ll | |
parent | fec80c6ad2b178363fccf31046956ce11808c289 (diff) | |
download | bcm5719-llvm-8591b6b0ab3e95b4865397543b11ccc16edd5203.tar.gz bcm5719-llvm-8591b6b0ab3e95b4865397543b11ccc16edd5203.zip |
Move various XCore tests to FileCheck
llvm-svn: 143457
Diffstat (limited to 'llvm/test/CodeGen/XCore/private.ll')
-rw-r--r-- | llvm/test/CodeGen/XCore/private.ll | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/XCore/private.ll b/llvm/test/CodeGen/XCore/private.ll index 537d63b903a..80b7db4ce3a 100644 --- a/llvm/test/CodeGen/XCore/private.ll +++ b/llvm/test/CodeGen/XCore/private.ll @@ -1,19 +1,21 @@ ; Test to make sure that the 'private' is used correctly. ; -; RUN: llc < %s -march=xcore > %t -; RUN: grep .Lfoo: %t -; RUN: grep bl.*\.Lfoo %t -; RUN: grep .Lbaz: %t -; RUN: grep ldw.*\.Lbaz %t +; RUN: llc < %s -march=xcore | FileCheck %s define private void @foo() { +; CHECK: .Lfoo: ret void } @baz = private global i32 4 define i32 @bar() { +; CHECK: bar: +; CHECK: bl .Lfoo +; CHECK: ldw r0, dp[.Lbaz] call void @foo() %1 = load i32* @baz, align 4 ret i32 %1 } + +; CHECK: .Lbaz: |