diff options
| author | Craig Topper <craig.topper@intel.com> | 2019-01-15 19:59:19 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@intel.com> | 2019-01-15 19:59:19 +0000 |
| commit | 99fcbf67d04d488d819bffb8fda3bb9d5504b63b (patch) | |
| tree | d4875f7ae2caec0f1958b8906c5da47d82b78f25 /llvm/test/CodeGen/Nios2 | |
| parent | 55897389799ed8759c3f1da0cb0a07959ca8467e (diff) | |
| download | bcm5719-llvm-99fcbf67d04d488d819bffb8fda3bb9d5504b63b.tar.gz bcm5719-llvm-99fcbf67d04d488d819bffb8fda3bb9d5504b63b.zip | |
[Nios2] Remove Nios2 backend
As mentioned here http://lists.llvm.org/pipermail/llvm-dev/2019-January/129121.html This backend is incomplete and has not been maintained in several months.
Differential Revision: https://reviews.llvm.org/D56691
llvm-svn: 351231
Diffstat (limited to 'llvm/test/CodeGen/Nios2')
| -rw-r--r-- | llvm/test/CodeGen/Nios2/add-sub.ll | 19 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Nios2/lit.local.cfg | 3 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Nios2/mul-div.ll | 27 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Nios2/proc_support.ll | 10 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Nios2/ret_generated.ll | 9 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Nios2/shift-rotate.ll | 26 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Nios2/target_support.ll | 11 |
7 files changed, 0 insertions, 105 deletions
diff --git a/llvm/test/CodeGen/Nios2/add-sub.ll b/llvm/test/CodeGen/Nios2/add-sub.ll deleted file mode 100644 index 7c9a2896ed9..00000000000 --- a/llvm/test/CodeGen/Nios2/add-sub.ll +++ /dev/null @@ -1,19 +0,0 @@ -; RUN: llc < %s -march=nios2 2>&1 | FileCheck %s -; RUN: llc < %s -march=nios2 -target-abi=nios2r2 2>&1 | FileCheck %s - -define i32 @add_reg(i32 %a, i32 %b) nounwind { -entry: -; CHECK: add_reg: -; CHECK: add r2, r4, r5 - %c = add i32 %a, %b - ret i32 %c -} - -define i32 @sub_reg(i32 %a, i32 %b) nounwind { -entry: -; CHECK: sub_reg: -; CHECK: sub r2, r4, r5 - %c = sub i32 %a, %b - ret i32 %c -} - diff --git a/llvm/test/CodeGen/Nios2/lit.local.cfg b/llvm/test/CodeGen/Nios2/lit.local.cfg deleted file mode 100644 index 84c8b039391..00000000000 --- a/llvm/test/CodeGen/Nios2/lit.local.cfg +++ /dev/null @@ -1,3 +0,0 @@ -if not 'Nios2' in config.root.targets: - config.unsupported = True - diff --git a/llvm/test/CodeGen/Nios2/mul-div.ll b/llvm/test/CodeGen/Nios2/mul-div.ll deleted file mode 100644 index 8327823cf14..00000000000 --- a/llvm/test/CodeGen/Nios2/mul-div.ll +++ /dev/null @@ -1,27 +0,0 @@ -; RUN: llc < %s -march=nios2 2>&1 | FileCheck %s -; RUN: llc < %s -march=nios2 -target-abi=nios2r2 2>&1 | FileCheck %s - -define i32 @mul_reg(i32 %a, i32 %b) nounwind { -entry: -; CHECK: mul_reg: -; CHECK: mul r2, r4, r5 - %c = mul i32 %a, %b - ret i32 %c -} - -define i32 @div_signed(i32 %a, i32 %b) nounwind { -entry: -; CHECK: div_signed: -; CHECK: div r2, r4, r5 - %c = sdiv i32 %a, %b - ret i32 %c -} - -define i32 @div_unsigned(i32 %a, i32 %b) nounwind { -entry: -; CHECK: div_unsigned: -; CHECK: divu r2, r4, r5 - %c = udiv i32 %a, %b - ret i32 %c -} - diff --git a/llvm/test/CodeGen/Nios2/proc_support.ll b/llvm/test/CodeGen/Nios2/proc_support.ll deleted file mode 100644 index c83c105724a..00000000000 --- a/llvm/test/CodeGen/Nios2/proc_support.ll +++ /dev/null @@ -1,10 +0,0 @@ -; This tests that llc accepts Nios2 processors. - -; RUN: not not llc < %s -asm-verbose=false -march=nios2 -mcpu=nios2r1 2>&1 | FileCheck %s --check-prefix=ARCH -; RUN: not not llc < %s -asm-verbose=false -march=nios2 -mcpu=nios2r2 2>&1 | FileCheck %s --check-prefix=ARCH - -; ARCH-NOT: is not a recognized processor - -define i32 @f(i32 %i) { - ret i32 %i -} diff --git a/llvm/test/CodeGen/Nios2/ret_generated.ll b/llvm/test/CodeGen/Nios2/ret_generated.ll deleted file mode 100644 index 986c65751df..00000000000 --- a/llvm/test/CodeGen/Nios2/ret_generated.ll +++ /dev/null @@ -1,9 +0,0 @@ -; This tests that llc generates 'ret' instruction in assembly output. - -; RUN: llc < %s -march=nios2 2>&1 | FileCheck %s --check-prefix=ARCH - -; ARCH: ret - -define i32 @f(i32 %i) { - ret i32 %i -} diff --git a/llvm/test/CodeGen/Nios2/shift-rotate.ll b/llvm/test/CodeGen/Nios2/shift-rotate.ll deleted file mode 100644 index d3084b5fb59..00000000000 --- a/llvm/test/CodeGen/Nios2/shift-rotate.ll +++ /dev/null @@ -1,26 +0,0 @@ -; RUN: llc < %s -march=nios2 2>&1 | FileCheck %s -; RUN: llc < %s -march=nios2 -target-abi=nios2r2 2>&1 | FileCheck %s - -define i32 @sll_reg(i32 %a, i32 %b) nounwind { -entry: -; CHECK: sll_reg: -; CHECK: sll r2, r4, r5 - %c = shl i32 %a, %b - ret i32 %c -} - -define i32 @srl_reg(i32 %a, i32 %b) nounwind { -entry: -; CHECK: srl_reg: -; CHECK: srl r2, r4, r5 - %c = lshr i32 %a, %b - ret i32 %c -} - -define i32 @sra_reg(i32 %a, i32 %b) nounwind { -entry: -; CHECK: sra_reg: -; CHECK: sra r2, r4, r5 - %c = ashr i32 %a, %b - ret i32 %c -} diff --git a/llvm/test/CodeGen/Nios2/target_support.ll b/llvm/test/CodeGen/Nios2/target_support.ll deleted file mode 100644 index 90e7020b2fc..00000000000 --- a/llvm/test/CodeGen/Nios2/target_support.ll +++ /dev/null @@ -1,11 +0,0 @@ -; This tests that llc accepts Nios2 target. - -; RUN: not not llc < %s -asm-verbose=false -march=nios2 2>&1 | FileCheck %s --check-prefix=ARCH -; RUN: not not llc < %s -asm-verbose=false -mtriple=nios2 2>&1 | FileCheck %s --check-prefix=TRIPLE - -; ARCH-NOT: invalid target -; TRIPLE-NOT: unable to get target - -define i32 @f(i32 %i) { - ret i32 %i -} |

