aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2020-01-31 14:35:53 -0500
committerMatt Arsenault <Matthew.Arsenault@amd.com>2020-02-04 11:23:13 -0800
commit23b76096b7d9b3a81ebfb1579471329a7d6b9c03 (patch)
tree7cc9036510b9fdefaa2f2148544b4fc581c88ddc /clang/lib/Frontend/CompilerInvocation.cpp
parent3c7e9c34b38f976af219005a8ed55b7f1a0c273b (diff)
downloadllvm-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