diff options
| author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-07-29 12:48:14 +0000 | 
|---|---|---|
| committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2014-07-29 12:48:14 +0000 | 
| commit | e09f73716ae527c8cc1a1b8b579a6f5c724d9181 (patch) | |
| tree | 472f5bd07cdca5ae27679d8cbf1db64ac693cf61 /llvm/test/CodeGen/PowerPC | |
| parent | 18e74f550761536b9f7a6f2a4b30d7afb0445633 (diff) | |
| download | bcm5719-llvm-e09f73716ae527c8cc1a1b8b579a6f5c724d9181.tar.gz bcm5719-llvm-e09f73716ae527c8cc1a1b8b579a6f5c724d9181.zip  | |
[PowerPC] Fix ppc64-elf-abi.ll test case on Darwin
Use full -mtriple instead of just -march to ensure Linux ABI
(ELFv1 or ELFv2) is selected.
llvm-svn: 214179
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/ppc64-elf-abi.ll | 12 | 
1 files changed, 6 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/PowerPC/ppc64-elf-abi.ll b/llvm/test/CodeGen/PowerPC/ppc64-elf-abi.ll index c7c9ff41e6e..d82122d58ee 100644 --- a/llvm/test/CodeGen/PowerPC/ppc64-elf-abi.ll +++ b/llvm/test/CodeGen/PowerPC/ppc64-elf-abi.ll @@ -1,9 +1,9 @@ -; 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 +; RUN: llc -mtriple=powerpc64-unknown-linux-gnu < %s | FileCheck %s -check-prefix=CHECK-ELFv1 +; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mattr=+elfv1 < %s | FileCheck %s -check-prefix=CHECK-ELFv1 +; RUN: llc -mtriple=powerpc64-unknown-linux-gnu -mattr=+elfv2 < %s | FileCheck %s -check-prefix=CHECK-ELFv2 +; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu < %s | FileCheck %s -check-prefix=CHECK-ELFv2 +; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mattr=+elfv1 < %s | FileCheck %s -check-prefix=CHECK-ELFv1 +; RUN: llc -mtriple=powerpc64le-unknown-linux-gnu -mattr=+elfv2 < %s | FileCheck %s -check-prefix=CHECK-ELFv2  ; CHECK-ELFv2: .abiversion 2  ; CHECK-ELFv1-NOT: .abiversion 2  | 

