kzhuravl added a comment. Can you handle all features as follows instead of checking a particular option?
‘handleTargetFeaturesGroup( Args, Features, options::OPT_m_amdgpu_Features_Group);’ ? There is code in AMDGPU tool chain you can use as a reference. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D57977/new/ https://reviews.llvm.org/D57977 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits