summaryrefslogtreecommitdiffstats
path: root/llvm/test/Other/opt-override-mcpu-mattr.ll
Commit message (Collapse)AuthorAgeFilesLines
* llc: Change behavior of -mcpu with existing attributeMatt Arsenault2020-01-071-4/+12
| | | | | | | | | | | Don't overwrite existing target-cpu attributes. I've often found the replacement behavior annoying, and this is inconsistent with how the fast math command line flags interact with the function attributes. Does not yet change target-features, since I think that should behave as a concatenation.
* Let llc and opt override "-target-cpu" and "-target-features" via command lineAkira Hatanaka2015-05-061-0/+13
options. This commit fixes a bug in llc and opt where "-mcpu" and "-mattr" wouldn't override function attributes "-target-cpu" and "-target-features" in the IR. Differential Revision: http://reviews.llvm.org/D9537 llvm-svn: 236677
OpenPOWER on IntegriCloud