summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/memset-inline.ll
diff options
context:
space:
mode:
authorNirav Dave <niravd@google.com>2016-12-14 16:43:44 +0000
committerNirav Dave <niravd@google.com>2016-12-14 16:43:44 +0000
commitf5bf03c7ef61c7e6f44ce22a5144b5e13be6e797 (patch)
tree8bbad8c76c9b57a0cdd5914eac2c7d7e06d69de1 /llvm/test/CodeGen/ARM/memset-inline.ll
parenta37860acee2d02520e32d20dffd80fe43859b419 (diff)
downloadbcm5719-llvm-f5bf03c7ef61c7e6f44ce22a5144b5e13be6e797.tar.gz
bcm5719-llvm-f5bf03c7ef61c7e6f44ce22a5144b5e13be6e797.zip
Revert "In visitSTORE, always use FindBetterChain, rather than only when UseAA is enabled."
Reverting due to ARM MCJIT and MIPS LLD error. This reverts commit r289659. llvm-svn: 289667
Diffstat (limited to 'llvm/test/CodeGen/ARM/memset-inline.ll')
-rw-r--r--llvm/test/CodeGen/ARM/memset-inline.ll10
1 files changed, 2 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/ARM/memset-inline.ll b/llvm/test/CodeGen/ARM/memset-inline.ll
index cc2b1a827c3..f6f8d562350 100644
--- a/llvm/test/CodeGen/ARM/memset-inline.ll
+++ b/llvm/test/CodeGen/ARM/memset-inline.ll
@@ -3,15 +3,9 @@
define void @t1(i8* nocapture %c) nounwind optsize {
entry:
; CHECK-LABEL: t1:
-
-;; FIXME: like with arm64-memset-inline.ll, learning how to merge
-;; stores made this code worse, since it now uses a vector move,
-;; instead of just using an strd instruction taking two registers.
-
-; CHECK: vmov.i32 d16, #0x0
-; CHECK: vst1.32 {d16}, [r0:64]!
; CHECK: movs r1, #0
-; CHECK: str r1, [r0]
+; CHECK: strd r1, r1, [r0]
+; CHECK: str r1, [r0, #8]
call void @llvm.memset.p0i8.i64(i8* %c, i8 0, i64 12, i32 8, i1 false)
ret void
}
OpenPOWER on IntegriCloud