Mercurial > hg > Members > tobaru > cbc > CbC_llvm
view test/CodeGen/ARM/debugtrap.ll @ 128:c347d3398279 default tip
fix
author | mir3636 |
---|---|
date | Wed, 06 Dec 2017 14:37:17 +0900 |
parents | 1172e4bd9c6f |
children |
line wrap: on
line source
; This test ensures the @llvm.debugtrap() call is not removed when generating ; the 'pop' instruction to restore the callee saved registers on ARM. ; RUN: llc < %s -mtriple=armv7 -O0 -filetype=asm | FileCheck %s declare void @llvm.debugtrap() nounwind declare void @foo() nounwind define void @test() nounwind { entry: ; CHECK: bl foo ; CHECK-NEXT: pop ; CHECK-NEXT: .inst 0xe7ffdefe call void @foo() call void @llvm.debugtrap() ret void }