[cfe-dev] How do I pass options to llc through clang?

Madhur Amilkanthwar madhur13490 at gmail.com
Wed Feb 18 01:59:07 PST 2015


I want to pass --enable-no-nans-fp-math to llc via clang. How should I do
this? -X* doesn't seem to help. I can dump .ll file with -S -emit-llvm but
I would like to pass via clang something like
clang -llc --enable-no-nans-fp-math a.c.



-- 
Thank You.
Madhur D. Amilkanthwar
RISE lab,
IIT Madras.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150218/5a843801/attachment.html>


More information about the cfe-dev mailing list