diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2019-12-09 18:03:25 +0530 |
---|---|---|
committer | Matt Arsenault <arsenm2@gmail.com> | 2020-01-15 19:46:01 -0500 |
commit | 67ec8744d7e72b50a5db5038c9643584ce57cb0c (patch) | |
tree | 98bbaf0576acbf07a3d35fa952ec679923edc31d /llvm/lib/Support/ErrorHandling.cpp | |
parent | 4bafceced6a7641be7b090229c6ccef22cf55bff (diff) | |
download | llvm-67ec8744d7e72b50a5db5038c9643584ce57cb0c.zip llvm-67ec8744d7e72b50a5db5038c9643584ce57cb0c.tar.gz llvm-67ec8744d7e72b50a5db5038c9643584ce57cb0c.tar.bz2 |
llc: Change behavior of -mattr with existing attribute
Append this to the existing target-features attribute on the function.
Some flags ignore existing attributes, and some overwrite them. Move
towards consistently respecting existing attributes if present. Since
target features act as a state machine on their own, append to the
function attribute. The backend default added feature list, function
attributes, and -mattr will all be appended together, and the later
features can individually toggle the earlier settings.
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
0 files changed, 0 insertions, 0 deletions