[Inliner] Remove alloca merging
authorArthur Eubanks <aeubanks@google.com>
Tue, 14 Mar 2023 20:52:57 +0000 (13:52 -0700)
committerArthur Eubanks <aeubanks@google.com>
Thu, 16 Mar 2023 17:00:27 +0000 (10:00 -0700)
commitcefbc2e0e794847a0634d3ad7ce94a8e72d0569d
tree6fcdfc32c90ee017e2d209ed66ced400e1e8e104
parentc1b4240322bfaa43b7f02ca58cf9fe52744884b9
[Inliner] Remove alloca merging

See https://discourse.llvm.org/t/rfc-we-should-stop-merging-allocas-in-the-inliner/41975 for the RFC from 2016 around this.

Backend stack coloring takes care of what this initially set out to help with.

This only affects the legacy inliner, which for the most part doesn't matter anymore. The new PM inliner never looked at this flag.

There are some backends running the legacy always-inline pass, but that's unlikely to matter.

Reviewed By: asbirlea

Differential Revision: https://reviews.llvm.org/D146091
llvm/lib/Transforms/IPO/Inliner.cpp