summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2014-07-14 18:21:11 +0000
committerBill Wendling <isanbard@gmail.com>2014-07-14 18:21:11 +0000
commite31c05926bfdfbd0f3bdd21e1456e416872cd1cc (patch)
treead1dcecc9a938c10887de990d999b3864fc8f096 /test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll
parent9cfe4c2dd31e52c8d1bdec1edd4eead9ca78336a (diff)
Unify the lowering of arguments during SjLj prepare.
The 'select true, %arg, undef' instruction can be used for both aggregate and non-aggregate arguments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212967 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.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll b/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll
index e26f6350050..3cf2a08fe35 100644
--- a/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll
+++ b/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll
@@ -10,7 +10,7 @@
; __Unwind_SjLj_Register and actual @bar invocation
-define i8* @foo({} %c) {
+define i8* @foo(i8 %a, {} %c) {
entry:
; CHECK: bl __Unwind_SjLj_Register
; CHECK-NEXT: {{[A-Z][a-zA-Z0-9]*}}: