3 Commits

Author SHA1 Message Date
Roman Lebedev
f97b8513d2
[NFC] Port all PartialInlining tests to -passes= syntax 2022-12-08 02:38:49 +03:00
Matt Arsenault
b1dbc0a24c PartialInlining: Convert tests to opaque pointers
Once again the script decided to delete an llvm.assume declaration
which I manually restored.
2022-11-28 09:08:30 -05:00
Ettore Tiotto
4274cbba1c [PartialInliner]: Handle code regions in a switch stmt cases
This patch enhances computeOutliningColdRegionsInfo() to allow it to
consider regions containing a single basic block and a single
predecessor as candidate for partial inlining.

Reviewed By: fhann

Differential Revision: https://reviews.llvm.org/D89911
2020-11-02 14:32:45 -05:00