1 ; This test ensures the @llvm.debugtrap() call is not removed when generating
2 ; the 'pop' instruction to restore the callee saved registers on ARM.
4 ; RUN: llc < %s -mtriple=armv7 -O0 -filetype=asm | FileCheck %s
6 declare void @llvm.debugtrap() nounwind
7 declare void @foo() nounwind
9 define void @test() nounwind {
13 ; CHECK-NEXT: .inst 0xe7ffdefe
15 call void @llvm.debugtrap()