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