Bill Wendling ed91169004 The getDefaultSubtargetFeatures method of SubtargetFeature did actually return a
string of features for that target. However LTO was using that string to pass
into the "create target machine" stuff. That stuff needed the feature string to
be in a particular form. In particular, it needed the CPU specified first and
then the attributes. If there isn't a CPU specified, it required it to be blank
-- e.g., ",+altivec". Yuck.

Modify the getDefaultSubtargetFeatures method to be a non-static member
function. For all attributes for a specific subtarget, it will add them in like
normal. It will also take a CPU string so that it can satisfy this horrible
syntax.

llvm-svn: 103451
2010-05-11 00:30:02 +00:00
..
2010-05-07 23:19:07 +00:00
2010-04-19 16:15:31 +00:00
2010-05-09 17:34:13 +00:00
2010-05-10 20:14:02 +00:00
2009-08-28 23:24:31 +00:00
2010-05-10 19:47:21 +00:00
2010-04-07 05:20:54 +00:00
2010-01-16 21:55:24 +00:00
2010-02-10 16:03:48 +00:00
2010-04-29 12:32:45 +00:00
2010-03-16 10:59:48 +00:00
2010-05-10 20:24:27 +00:00
2010-01-20 19:25:45 +00:00
2009-11-06 10:58:06 +00:00