mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-30 17:02:29 +00:00
67f0f878cd
This fixes a bug in ARMAsmPrinter::EmitUnwindingInstruction where llvm_unreachable was reached because t2ADDri wasn't handled. Test case provided by Tim Northover. rdar://problem/23270609 http://reviews.llvm.org/D14518 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252557 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
238 B
LLVM
12 lines
238 B
LLVM
; RUN: llc -mtriple thumbv7em-apple-unknown-eabi-macho %s -o - -O0 | FileCheck %s
|
|
|
|
; CHECK: add.w r11, sp, #{{[1-9]+}}
|
|
|
|
define void @foo1() {
|
|
call void asm sideeffect "", "~{r4}"()
|
|
call void @foo2()
|
|
ret void
|
|
}
|
|
|
|
declare void @foo2()
|