diff options
author | Nikita Popov <npopov@redhat.com> | 2021-12-10 08:59:59 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2021-12-10 08:59:59 +0100 |
commit | ccafd2d0b5fa712d21f7f8fd1d0ae8d79f8ca660 (patch) | |
tree | 6514a5c26bb6f42de8ff01f37e28600ebb16e97e /llvm/lib/CodeGen/CodeGen.cpp | |
parent | a34465372507a654ff4ec8c1f7faabda4c5d9ab9 (diff) | |
download | llvm-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