[MSP430] Allow msp430_intrcc functions to not have interrupt attribute.
authorVadzim Dambrouski <pftbest@gmail.com>
Wed, 25 Sep 2019 18:58:07 +0000 (18:58 +0000)
committerVadzim Dambrouski <pftbest@gmail.com>
Wed, 25 Sep 2019 18:58:07 +0000 (18:58 +0000)
commitefcad77431e10b615469595eff301804a5027f18
treecf761e3d8136e76ef0ee454e004ed613b30e0dff
parentaf4a29af0179995a9d639af45d2c7bacab61f2b0
[MSP430] Allow msp430_intrcc functions to not have interrupt attribute.

Summary:
Useful in case you want to have control over interrupt vector generation.
For example in Rust language we have an arrangement where all unhandled
ISR vectors gets mapped to a single default handler function. Which is
hard to implement when LLVM tries to generate vectors on its own.

Reviewers: asl, krisb

Subscribers: hiraditya, JDevlieghere, awygle, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D67313

llvm-svn: 372910
llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp
llvm/test/CodeGen/MSP430/interrupt.ll