diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-07-28 13:10:25 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-07-28 13:10:25 +0000 |
commit | 225048baf8e1e57cd694cd4e9399acadc1ede37a (patch) | |
tree | 65202f3b6dae048e5c06bc374fad95319dac749f /test/CodeGen/PowerPC/ppc64-elf-abi.ll | |
parent | fe7131e2d0ebd219b00764e35ff33ef0cfa6d489 (diff) |
[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
Diffstat (limited to 'test/CodeGen/PowerPC/ppc64-elf-abi.ll')
-rw-r--r-- | test/CodeGen/PowerPC/ppc64-elf-abi.ll | 10 |
1 files changed, 10 insertions, 0 deletions
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 + |