[llvm-dev] Disabling/Enabling subtarget's feature from clang cmdline

Przemyslaw Ossowski via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 6 05:52:56 PDT 2021


Hello,
I have a set of two subtargets, each of them has a set of given features.

>From "llc" cmdline it is possible to enable/disable given feature on given
subtarget by adding: -attr=+/-<feature_name>

Is it possible to explicitly disable/enable a given feature from clang
cmdline?
I was trying to do it with "-mllvm -attr=feature_name", but it didn't work.

Thanks,
Przemek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20211006/4d60e53e/attachment.html>


More information about the llvm-dev mailing list