summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2019-12-06 10:37:02 -0800
committerAlina Sbirlea <asbirlea@google.com>2019-12-06 10:59:26 -0800
commitc7faa6814248cf2443cce856a74247fc70699f98 (patch)
treefd230c6639250a59bd70bc618c80df39ac4ea9fd /llvm/test/CodeGen/ARM
parent7ff0fcb53f6e71bc22d37494fdfa68bbf2d3709b (diff)
downloadbcm5719-llvm-c7faa6814248cf2443cce856a74247fc70699f98.tar.gz
bcm5719-llvm-c7faa6814248cf2443cce856a74247fc70699f98.zip
Revert "ARM-Darwin: keep the frame register reserved even if not updated."
This reverts commit a7d90af1be48234ce583e00fb16e33633d44ae38. This revision came back as the root-cause for crashes in internal ARM-IOS apps. Reproducer in https://bugs.llvm.org/show_bug.cgi?id=44231.
Diffstat (limited to 'llvm/test/CodeGen/ARM')
-rw-r--r--llvm/test/CodeGen/ARM/r7-fixed-darwin.ll15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/test/CodeGen/ARM/r7-fixed-darwin.ll b/llvm/test/CodeGen/ARM/r7-fixed-darwin.ll
deleted file mode 100644
index dc59b6acb42..00000000000
--- a/llvm/test/CodeGen/ARM/r7-fixed-darwin.ll
+++ /dev/null
@@ -1,15 +0,0 @@
-; RUN: llc -mtriple=thumbv7k-apple-watchos %s -o - | FileCheck %s
-
-; r7 is FP on Darwin, and should be preserved even if we don't create a new
-; frame record for this leaf function. So make huge register pressure to try &
-; tempt LLVM to use it.
-define void @foo([16 x i32]* %ptr) {
-; CHECK-LABEL: foo:
-; CHECK: push.w
-; CHECK: .cfi_offset r7
-; CHECK-NOT: r7
-; CHECK: pop.w
- %val = load volatile [16 x i32], [16 x i32]* %ptr
- store volatile [16 x i32] %val, [16 x i32]* %ptr
- ret void
-}
OpenPOWER on IntegriCloud