summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2015-11-18 21:10:39 +0000
committerTim Northover <tnorthover@apple.com>2015-11-18 21:10:39 +0000
commitc931f35508d5a7eb6337f5c8845f470afb4da6a6 (patch)
tree3bb40e1d8ff248581c28e33c7b806bea97fc010e /test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll
parent54225a9153715dfd9a14f226bdb734476cf11759 (diff)
ARM: make sure backend is consistent about exception handling method.
It turns out we decide whether to use SjLj exceptions or some alternative in two separate places in the backend, and they disagreed with each other. This led to inconsistent code and is generally a terrible idea. So make them consistent and add an assert that they *do* match (unfortunately MCAsmInfo isn't available in opt, so it can't be used to initialise the CodeGen version directly). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll')
-rw-r--r--test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll b/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll
index 5d015738623..b44b447b3df 100644
--- a/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll
+++ b/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll
@@ -2,6 +2,7 @@
; RUN: llc -mtriple=armv7-apple-ios -O1 < %s | FileCheck %s
; RUN: llc -mtriple=armv7-apple-ios -O2 < %s | FileCheck %s
; RUN: llc -mtriple=armv7-apple-ios -O3 < %s | FileCheck %s
+; RUN: llc -mtriple=armv7k-apple-ios < %s | FileCheck %s
; SjLjEHPrepare shouldn't crash when lowering empty structs.
;