mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-25 04:55:50 +00:00
ed91169004
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 |
||
---|---|---|
.. | ||
lto.cpp | ||
lto.exports | ||
LTOCodeGenerator.cpp | ||
LTOCodeGenerator.h | ||
LTOModule.cpp | ||
LTOModule.h | ||
Makefile |