diff options
author | Ruobing Han <hanruobing@gatech.edu> | 2022-08-01 17:22:45 +0000 |
---|---|---|
committer | Ruobing Han <hanruobing@gatech.edu> | 2022-08-08 18:12:04 +0000 |
commit | f756f06cc471b91d81d7f7f15d9df76ed24de730 (patch) | |
tree | 522dc01ac406696b3a5afed41b16dbb7b8437ca2 /llvm/lib/IR/Function.cpp | |
parent | 6c52f82d77a1b8d9d9f8b585c73f94e58191b5a9 (diff) | |
download | llvm-f756f06cc471b91d81d7f7f15d9df76ed24de730.zip llvm-f756f06cc471b91d81d7f7f15d9df76ed24de730.tar.gz llvm-f756f06cc471b91d81d7f7f15d9df76ed24de730.tar.bz2 |
[SimpleLoopUnswitch] Skip non-trivial unswitching of cold loops
With profile data, non-trivial LoopUnswitch will only apply on non-cold loops, as unswitching cold loops may not gain much benefit but significantly increase the code size.
Reviewed By: aeubanks, asbirlea
Differential Revision: https://reviews.llvm.org/D129599
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions