From 225048baf8e1e57cd694cd4e9399acadc1ede37a Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Mon, 28 Jul 2014 13:10:25 +0000 Subject: [PowerPC] Add testcase forgotten in the 214072 commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214073 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/PowerPC/ppc64-elf-abi.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/CodeGen/PowerPC/ppc64-elf-abi.ll (limited to 'test/CodeGen/PowerPC/ppc64-elf-abi.ll') diff --git a/test/CodeGen/PowerPC/ppc64-elf-abi.ll b/test/CodeGen/PowerPC/ppc64-elf-abi.ll new file mode 100644 index 00000000000..c7c9ff41e6e --- /dev/null +++ b/test/CodeGen/PowerPC/ppc64-elf-abi.ll @@ -0,0 +1,10 @@ +; RUN: llc -march=ppc64 < %s | FileCheck %s -check-prefix=CHECK-ELFv1 +; RUN: llc -march=ppc64 -mattr=+elfv1 < %s | FileCheck %s -check-prefix=CHECK-ELFv1 +; RUN: llc -march=ppc64 -mattr=+elfv2 < %s | FileCheck %s -check-prefix=CHECK-ELFv2 +; RUN: llc -march=ppc64le < %s | FileCheck %s -check-prefix=CHECK-ELFv2 +; RUN: llc -march=ppc64le -mattr=+elfv1 < %s | FileCheck %s -check-prefix=CHECK-ELFv1 +; RUN: llc -march=ppc64le -mattr=+elfv2 < %s | FileCheck %s -check-prefix=CHECK-ELFv2 + +; CHECK-ELFv2: .abiversion 2 +; CHECK-ELFv1-NOT: .abiversion 2 + -- cgit v1.2.3