diff options
Diffstat (limited to 'llvm/test/CodeGen/PowerPC/private.ll')
-rw-r--r-- | llvm/test/CodeGen/PowerPC/private.ll | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/llvm/test/CodeGen/PowerPC/private.ll b/llvm/test/CodeGen/PowerPC/private.ll index b2412080fed..7eb4423b7b7 100644 --- a/llvm/test/CodeGen/PowerPC/private.ll +++ b/llvm/test/CodeGen/PowerPC/private.ll @@ -1,28 +1,20 @@ ; Test to make sure that the 'private' is used correctly. ; -; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | \ -; RUN: FileCheck --check-prefix=LINUX %s -; -; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin | \ -; RUN: FileCheck --check-prefix=OSX %s +; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s -; LINUX: .Lfoo: -; OSX: l_foo: +; CHECK: .Lfoo: define private void @foo() nounwind { ret void } define i32 @bar() nounwind { -; LINUX: bl{{.*}}.Lfoo -; OSX: bl{{.*}}l_foo +; CHECK: bl{{.*}}.Lfoo call void @foo() -; LINUX: lis{{.*}}.Lbaz -; OSX: lis{{.*}}l_baz +; CHECK: lis{{.*}}.Lbaz %1 = load i32, i32* @baz, align 4 ret i32 %1 } -; LINUX: .Lbaz: -; OSX: l_baz: +; CHECK: .Lbaz: @baz = private global i32 4 |