diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2013-02-01 22:59:51 +0000 |
---|---|---|
committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2013-02-01 22:59:51 +0000 |
commit | cdc3b74cfb8a1fb3d053106cd8843a39fbb5e2e5 (patch) | |
tree | 967d97c4f5bf2e39b4638d2f4d2544a8aeae1e20 /test/CodeGen/PowerPC/pwr3-6x.ll | |
parent | 5a4041e7282ca1dba93fe1a97c8260c0ef621f5d (diff) | |
download | external_llvm-cdc3b74cfb8a1fb3d053106cd8843a39fbb5e2e5.zip external_llvm-cdc3b74cfb8a1fb3d053106cd8843a39fbb5e2e5.tar.gz external_llvm-cdc3b74cfb8a1fb3d053106cd8843a39fbb5e2e5.tar.bz2 |
LLVM enablement for some older PowerPC CPUs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174230 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/pwr3-6x.ll')
-rw-r--r-- | test/CodeGen/PowerPC/pwr3-6x.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/CodeGen/PowerPC/pwr3-6x.ll b/test/CodeGen/PowerPC/pwr3-6x.ll new file mode 100644 index 0000000..a9cfe41 --- /dev/null +++ b/test/CodeGen/PowerPC/pwr3-6x.ll @@ -0,0 +1,14 @@ +; Test basic support for some older processors. + +;RUN: llc < %s -march=ppc64 -mcpu=pwr3 | FileCheck %s +;RUN: llc < %s -march=ppc64 -mcpu=pwr4 | FileCheck %s +;RUN: llc < %s -march=ppc64 -mcpu=pwr5 | FileCheck %s +;RUN: llc < %s -march=ppc64 -mcpu=pwr5x | FileCheck %s +;RUN: llc < %s -march=ppc64 -mcpu=pwr6x | FileCheck %s + +define void @foo() { +entry: + ret void +} + +; CHECK: @foo |