[all-commits] [llvm/llvm-project] ccafd2: [Inline] Add test for exponential deferred inlinin...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Dec 10 00:02:32 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccafd2d0b5fa712d21f7f8fd1d0ae8d79f8ca660
      https://github.com/llvm/llvm-project/commit/ccafd2d0b5fa712d21f7f8fd1d0ae8d79f8ca660
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2021-12-10 (Fri, 10 Dec 2021)

  Changed paths:
    A llvm/test/Transforms/Inline/exponential-deferred-inlining.ll

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list