Revert "[CodeGenPrepare] Estimate liveness of loop invariants when checking for addre...
authorJordan Rupprecht <rupprecht@google.com>
Fri, 28 Apr 2023 02:16:32 +0000 (19:16 -0700)
committerJordan Rupprecht <rupprecht@google.com>
Fri, 28 Apr 2023 02:16:32 +0000 (19:16 -0700)
commitfbf42f1fe2b541ea039ea576f57040eec2ff9480
treead0b9f07afc2092643fde2296f2ff04d1d84870c
parent876df74dd47196a9ca3b4fff21ffb5441491a0a0
Revert "[CodeGenPrepare] Estimate liveness of loop invariants when checking for address folding profitability"

This reverts commit 5344d8e10bb7d8672d4bfae8adb010465470d51b.

It causes non-determinism when building clang. See the review thread on D143897.
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/test/CodeGen/AArch64/gep-sink-loop-inv-live.ll [deleted file]