diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 18:44:22 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-19 18:44:22 +0000 |
| commit | 3edec5c15a78e4abba7eb9102fef3891c84ebdfb (patch) | |
| tree | 839edc42f4a62f9496ceb5a140889d0c3da25ae8 /test/CodeGen/MSP430/interrupt.ll | |
| parent | d8e91e46262bc44006913e6796843909f1ac7bcd (diff) | |
Notes
Diffstat (limited to 'test/CodeGen/MSP430/interrupt.ll')
| -rw-r--r-- | test/CodeGen/MSP430/interrupt.ll | 4 |
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" } |
