[LLVMdev] Flag to print vectorized loops

Nadav Rotem nrotem at apple.com
Mon Nov 26 17:58:25 PST 2012


I don't think that IR-level passes should just print messages into stdout.  I think that all of the input/output should be handled by the compiler driver. There needs to be an interface that will allow us to build something useful on top of it, such as color messages or IDE integration. 

On Nov 26, 2012, at 3:28 PM, Sebastian Pop <spop at codeaurora.org> wrote:

> Nadav Rotem wrote:
>> I don't think that printing to stdout is the right thing to do. I think that
>> we need to go through the clang driver.
> 
> I'm not sure I understand exactly what you are suggesting: could you please give
> some more details?  Do you mean that we should use clang's diagnostic
> infrastructure to report these messages?
> 
> Thanks,
> Sebastian
> -- 
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation




More information about the llvm-dev mailing list