aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2021-12-10 08:59:59 +0100
committerNikita Popov <npopov@redhat.com>2021-12-10 08:59:59 +0100
commitccafd2d0b5fa712d21f7f8fd1d0ae8d79f8ca660 (patch)
tree6514a5c26bb6f42de8ff01f37e28600ebb16e97e /llvm/lib/CodeGen/CodeGen.cpp
parenta34465372507a654ff4ec8c1f7faabda4c5d9ab9 (diff)
downloadllvm-ccafd2d0b5fa712d21f7f8fd1d0ae8d79f8ca660.zip
llvm-ccafd2d0b5fa712d21f7f8fd1d0ae8d79f8ca660.tar.gz
llvm-ccafd2d0b5fa712d21f7f8fd1d0ae8d79f8ca660.tar.bz2
[Inline] Add test for exponential deferred inlining (NFC)
This shows a case where deferred inlining produces an exponential result. The test case demonstrates the basic exponential behavior, but is nowhere close to the worst case. For example, the file at https://gist.github.com/nikic/1262b5f7d27278e1b34a190ae10947f5 currently gets expanded from <100 lines to nearly 500000 lines of IR by opt -inline.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions