[llvm-dev] Question on target-features

Dangeti Tharun kumar via llvm-dev llvm-dev at lists.llvm.org
Fri Sep 27 07:23:03 PDT 2019


Hi,

In "target-features" list in LLVM-IR, there are "+feature", "-feature". My
question is, does "-feature" is equivalent to not specifying a feature at
all?
For example:
*attributes #0 = {  "target-cpu"="znver2"  "target-features"="+avx -avx2" }*
Wheather it is equalent to omitting the avx2 from list?
*attributes #0 = {  "target-cpu"="znver2"  "target-features"="+avx" }*
-- 
Regards,
DTharun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190927/1e3a22ae/attachment.html>


More information about the llvm-dev mailing list