summaryrefslogtreecommitdiff
path: root/src/passes/StripTargetFeatures.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clean up loose ends in feature handling (#2203)Thomas Lively2019-07-031-2/+5
| | | | | Fix and test mutable globals support, replace string literals with constants, and add a pass to emit the target features section.
* Apply format changes from #2048 (#2059)Alon Zakai2019-04-261-3/+1
| | | Mass change to apply clang-format to everything. We are applying this in a PR by me so the (git) blame is all mine ;) but @aheejin did all the work to get clang-format set up and all the manual work to tidy up some things to make the output nicer in #2048
* Change default feature set to MVP (#1993)Thomas Lively2019-04-161-2/+0
| | | | | In the absence of the target features section or command line flags. When there are command line flags, it is an error if they do not exactly match the target features section, except if --detect-features has been provided. Also adds a --print-features pass to print the command line flags for all enabled options and uses it to make the feature tests more rigorous.
* Move features from passOptions to Module (#2001)Thomas Lively2019-04-121-0/+33
This allows us to emit a (potentially modified) target features section and conditionally emit other sections such as the DataCount section based on the presence of features.