inline-asm-modifier-n.ll
455 Bytes
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=i686-- -no-integrated-as | FileCheck %s
; rdar://7008959
define void @bork() nounwind {
; CHECK-LABEL: bork:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: #APP
; CHECK-NEXT: BORK 37
; CHECK-NEXT: #NO_APP
; CHECK-NEXT: retl
entry:
tail call void asm sideeffect "BORK ${0:n}", "i,~{dirflag},~{fpsr},~{flags}"(i32 -37) nounwind
ret void
}