HomePhabricator

llc: Change behavior of -mattr with existing attribute

Authored by arsenm on Dec 9 2019, 4:33 AM.

Description

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.

Details

Committed
arsenmJan 15 2020, 4:46 PM
Parents
rG4bafceced6a7: [LLDB] Add ObjectFileWasm plugin for WebAssembly debugging
Branches
Unknown
Tags
Unknown