[llvm-dev] Issuing a warning from llc

Chris.Dewhurst via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 20 02:39:41 PDT 2016

I'm wondering if there's a way to issue a warning from llc during a machine function pass.

I have access to a MachineFunction instance, but I can't find any kind of context instance that allows me to issue warnings.

The warning is part of a hardware erratum fix. There are possible side-effects that the user would want to be warned about if they switch on this fix and I want to issue a warning to this effect.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160720/90014c1c/attachment.html>

More information about the llvm-dev mailing list