diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-01-31 14:35:53 -0500 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-02-04 11:23:13 -0800 |
commit | 23b76096b7d9b3a81ebfb1579471329a7d6b9c03 (patch) | |
tree | 7cc9036510b9fdefaa2f2148544b4fc581c88ddc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3c7e9c34b38f976af219005a8ed55b7f1a0c273b (diff) | |
download | llvm-23b76096b7d9b3a81ebfb1579471329a7d6b9c03.zip llvm-23b76096b7d9b3a81ebfb1579471329a7d6b9c03.tar.gz llvm-23b76096b7d9b3a81ebfb1579471329a7d6b9c03.tar.bz2 |
CodeGenPrepare: Reorder check for cold and shouldOptimizeForSize
shouldOptimizeForSize is showing up in a profile, spending around 10%
of the pass time in one function. This should probably not be so slow,
but the much cheaper attribute check should be done first anyway.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions