yaxunl added a comment.

In D145343#4172643 <https://reviews.llvm.org/D145343#4172643>, @tra wrote:

> Can `__has_feature` be used to accomplish what you need?

There are a few issues using `__has_feature` or similar builtin macros to check 
target feature, which has been discussed in https://reviews.llvm.org/D125555 . 
One of the concerns is the stability of target feature name.

Using a predefined macro does not have such concern.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145343/new/

https://reviews.llvm.org/D145343

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to