[SubtargetFeatures] Don't call ApplyFeatureFlag if the feature name is '+help'
authorCraig Topper <craig.topper@intel.com>
Mon, 4 Mar 2019 02:02:24 +0000 (02:02 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 4 Mar 2019 02:02:24 +0000 (02:02 +0000)
commitb306ef12f046353ea5bda4b3b77759e57909a0db
tree0efa64af51c1019fde4cb067f53c0b2f3bc4388a
parenta761f9f4079acff4a3b1ace5e439d4c446a8db05
[SubtargetFeatures] Don't call ApplyFeatureFlag if the feature name is '+help'

Just print the help and stop. Otherwise we'll print a message about it not being a real feature name after printing the help text.

llvm-svn: 355299
llvm/lib/MC/SubtargetFeature.cpp