summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaChecking.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2018-11-30 21:14:58 +0000
committerJessica Paquette <jpaquette@apple.com>2018-11-30 21:14:58 +0000
commit1cb18ec4ece5539f83ad2d79777f77b5cbc9d669 (patch)
treec06773824a1f7d56bc4050603ce1c4ca08356bc2 /clang/lib/Sema/SemaChecking.cpp
parent35fcc294ab5fbfd9bdaa053261d80bc0dd2d7701 (diff)
downloadbcm5719-llvm-1cb18ec4ece5539f83ad2d79777f77b5cbc9d669.tar.gz
bcm5719-llvm-1cb18ec4ece5539f83ad2d79777f77b5cbc9d669.zip
[MachineOutliner] Outline both register save calls + no LR save calls together
Instead of treating the outlined functions for these as distinct frames, they should be combined into one case. Neither allows for stack fixups, and both generate the same frame. Thus, they ought to be considered one case. This makes the code far easier to understand, for one thing. It also offers some small code size improvements. It's fairly rare to see a class of outlined functions that doesn't fall entirely into one variant (on CTMark anyway). It does happen from time to time though. This mostly offers some serious simplification. Also update the test to show the added functionality. llvm-svn: 348036
Diffstat (limited to 'clang/lib/Sema/SemaChecking.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud