summaryrefslogtreecommitdiff
path: root/test/CodeGen/MSP430/interrupt.ll
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2019-01-19 18:44:22 +0000
committerDimitry Andric <dim@FreeBSD.org>2019-01-19 18:44:22 +0000
commit3edec5c15a78e4abba7eb9102fef3891c84ebdfb (patch)
tree839edc42f4a62f9496ceb5a140889d0c3da25ae8 /test/CodeGen/MSP430/interrupt.ll
parentd8e91e46262bc44006913e6796843909f1ac7bcd (diff)
Notes
Diffstat (limited to 'test/CodeGen/MSP430/interrupt.ll')
-rw-r--r--test/CodeGen/MSP430/interrupt.ll4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/MSP430/interrupt.ll b/test/CodeGen/MSP430/interrupt.ll
index 5fa0c849c260..94fb3bc457a3 100644
--- a/test/CodeGen/MSP430/interrupt.ll
+++ b/test/CodeGen/MSP430/interrupt.ll
@@ -13,6 +13,9 @@ target triple = "msp430-generic-generic"
; instruction RETI, which restores the SR register and branches to the PC where
; the interrupt occurred.
+; CHECK: .section __interrupt_vector_2,"ax",@progbits
+; CHECK-NEXT: .short ISR
+
@g = global float 0.0
define msp430_intrcc void @ISR() #0 {
@@ -47,3 +50,4 @@ entry:
ret void
}
+attributes #0 = { noinline nounwind optnone "interrupt"="2" }