[llvm-dev] enable/disable features through clang
John Criswell via llvm-dev
llvm-dev at lists.llvm.org
Tue May 3 06:21:41 PDT 2016
On 5/2/16 1:32 PM, Rail Shafigulin via llvm-dev wrote:
> Is there a way to enable/disable target features through clang?
> I found this, https://github.com/avr-llvm/llvm/issues/9, but this
> seems to be talking about llc -mattr=+feature1,-feature2...
> Is there something equivalent for clang?
Have you tried using clang --help-hidden to print all of its options?
There might be a -mllvm -<something> option that will do what you want.
> Rail Shafigulin
> Software Engineer
> Esencia Technologies
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
Department of Computer Science, University of Rochester
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev