I was wondering why SubtargetFeatures
is part of MC
and not of, say, TargetParser
(like Triple
). And, if there is no good reason for this, if it would be an option to move it to a different component?
This question came up during the discussion on a JITLink
review to add SubtargetFeatures
to the LinkGraph
. JITLink
would like to avoid a dependency on MC
. It also feels more ergonomic to be able to represent target features without having to pull-in a component like MC
.
Any thoughts on this?