[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 12:25:23 PST 2017


efriedma added a comment.

> There would be a big performance penalty for ISRs with callees that don't use VFP regs.

Sacrificing correctness for the sake of performance seems like a bad idea... especially given that the optimizer can insert calls to memcpy where they didn't originally exist in the source.


https://reviews.llvm.org/D28820





More information about the cfe-commits mailing list