Revert "[LICM] Support hosting of dynamic allocas out of loops"
authorPhilip Reames <listmail@philipreames.com>
Tue, 25 Feb 2020 16:56:53 +0000 (08:56 -0800)
committerPhilip Reames <listmail@philipreames.com>
Tue, 25 Feb 2020 17:05:31 +0000 (09:05 -0800)
commit14845b2c459021e3dbf2ead52d707d4a7db40cbb
treee7a1f4cbbb116d5eb80243392a52a06678909926
parent69da40033106aadbb452c473ec99c002ff801b12
Revert "[LICM] Support hosting of dynamic allocas out of loops"

This reverts commit 8d22100f66c4170510c6ff028c60672acfe1cff9.

There was a functional regression reported (https://bugs.llvm.org/show_bug.cgi?id=44996).  I'm not actually sure the patch is wrong, but I don't have time to investigate currently, and this line of work isn't something I'm likely to get back to quickly.
llvm/lib/Transforms/Scalar/LICM.cpp
llvm/test/Transforms/LICM/hoist-alloca.ll [deleted file]