diff options
| author | James Molloy <james.molloy@arm.com> | 2016-07-04 17:14:24 +0000 |
|---|---|---|
| committer | James Molloy <james.molloy@arm.com> | 2016-07-04 17:14:24 +0000 |
| commit | c3b4ed4a702373a782c0156ac2cab7e2cdf3cfad (patch) | |
| tree | 519e59eb63b305468e0796c3b8c8cbd9d037ee21 /llvm/test/CodeGen | |
| parent | fdaed4c41172921f461c5a0b3519640dae41e4a0 (diff) | |
| download | bcm5719-llvm-c3b4ed4a702373a782c0156ac2cab7e2cdf3cfad.tar.gz bcm5719-llvm-c3b4ed4a702373a782c0156ac2cab7e2cdf3cfad.zip | |
Revert "[Thumb] Reapply r272251 with a fix for PR28348"
This reverts commit r274510 - it made green dragon unhappy.
llvm-svn: 274512
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/Thumb/bic_imm.ll | 12 | ||||
| -rw-r--r-- | llvm/test/CodeGen/Thumb2/bicbfi.ll | 17 |
2 files changed, 0 insertions, 29 deletions
diff --git a/llvm/test/CodeGen/Thumb/bic_imm.ll b/llvm/test/CodeGen/Thumb/bic_imm.ll deleted file mode 100644 index 078c321b781..00000000000 --- a/llvm/test/CodeGen/Thumb/bic_imm.ll +++ /dev/null @@ -1,12 +0,0 @@ -; RUN: llc < %s -mtriple=thumbv7-linux-gnueabi -mcpu=cortex-m0 -verify-machineinstrs | FileCheck --check-prefix CHECK-T1 %s -; RUN: llc < %s -mtriple=thumbv7-linux-gnueabi -mcpu=cortex-m3 -verify-machineinstrs | FileCheck --check-prefix CHECK-T2 %s - -; CHECK-T1-LABEL: @i -; CHECK-T2-LABEL: @i -; CHECK-T1: bics r0, #275 -; CHECK-T2: bic r0, r0, #275 -define i32 @i(i32 %a) { -entry: - %and = and i32 %a, -276 - ret i32 %and -} diff --git a/llvm/test/CodeGen/Thumb2/bicbfi.ll b/llvm/test/CodeGen/Thumb2/bicbfi.ll deleted file mode 100644 index fcdb1225db5..00000000000 --- a/llvm/test/CodeGen/Thumb2/bicbfi.ll +++ /dev/null @@ -1,17 +0,0 @@ -; RUN: llc < %s | FileCheck %s - -target datalayout = "e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:64-v128:64:128-a:0:32-n32-S64" -target triple = "thumbv7--linux-gnueabihf" - -; CHECK-LABEL: f: -; CHECK: bic -define void @f(i32* nocapture %b, i32* nocapture %c, i32 %a) { - %1 = and i32 %a, -4096 - store i32 %1, i32* %c, align 4 - %2 = and i32 %a, 4095 - %3 = or i32 %2, 4096 - %4 = load i32, i32* %b, align 4 - %5 = add nsw i32 %4, %3 - store i32 %5, i32* %b, align 4 - ret void -}
\ No newline at end of file |

