[llvm-dev] enable/disable features through clang
Rail Shafigulin via llvm-dev
llvm-dev at lists.llvm.org
Tue May 3 14:27:50 PDT 2016
On Tue, May 3, 2016 at 1:47 PM, Eric Christopher <echristo at gmail.com> wrote:
> You should pipe through command line options that you want via the driver.
I'm not sure what you mean by "pipe through". Do you mind explaining it?
> Take a look at pretty much every other target for a guideline on how to do
> -mllvm -mattr=... is not for production use and you shouldn't do this.
> On Mon, May 2, 2016 at 10:32 AM Rail Shafigulin via llvm-dev <
> llvm-dev at lists.llvm.org> 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?
>> Rail Shafigulin
>> Software Engineer
>> Esencia Technologies
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev