Commit 17ceda99 authored by Craig Topper's avatar Craig Topper
Browse files

[CodeGen] Use an AttrBuilder to bulk remove 'target-cpu', 'target-features',...

[CodeGen] Use an AttrBuilder to bulk remove 'target-cpu', 'target-features', and 'tune-cpu' before re-adding in CodeGenModule::setNonAliasAttributes.

I think the removeAttributes interface should be faster than
calling removeAttribute 3 times.
parent ff260ad0
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment