[PATCH] D28820: Warn when calling a non interrupt function from an interrupt on ARM
Eli Friedman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 18 11:43:09 PST 2017
efriedma added a comment.
Why can't the compiler handle this case itself transparently? According to your description, the interrupt calling convention is different from the normal hard-float AAPCS calling convention: the VFP registers are all callee-save. The compiler knows this; it should be able to insert the appropriate spills itself.
https://reviews.llvm.org/D28820
More information about the cfe-commits
mailing list