[llvm] r214073 - [PowerPC] Add testcase forgotten in the 214072 commit.

Ulrich Weigand ulrich.weigand at de.ibm.com
Mon Jul 28 06:10:25 PDT 2014


Author: uweigand
Date: Mon Jul 28 08:10:25 2014
New Revision: 214073

URL: http://llvm.org/viewvc/llvm-project?rev=214073&view=rev
Log:
[PowerPC] Add testcase forgotten in the 214072 commit.

Added:
    llvm/trunk/test/CodeGen/PowerPC/ppc64-elf-abi.ll

Added: llvm/trunk/test/CodeGen/PowerPC/ppc64-elf-abi.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc64-elf-abi.ll?rev=214073&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc64-elf-abi.ll (added)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc64-elf-abi.ll Mon Jul 28 08:10:25 2014
@@ -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
+





More information about the llvm-commits mailing list