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
This commit is contained in:
Bill Wendling
2014-07-14 18:21:11 +00:00
parent 9cfe4c2dd3
commit e31c05926b
2 changed files with 10 additions and 28 deletions

View File

@@ -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]*}}: