[all-commits] [llvm/llvm-project] 17ceda: [CodeGen] Use an AttrBuilder to bulk remove 'targe...
topperc via All-commits
all-commits at lists.llvm.org
Thu Aug 27 12:55:45 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 17ceda99d32035dc654b45ef7af62c571d8a8273
https://github.com/llvm/llvm-project/commit/17ceda99d32035dc654b45ef7af62c571d8a8273
Author: Craig Topper <craig.topper at intel.com>
Date: 2020-08-27 (Thu, 27 Aug 2020)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list