Revert "[AArch64LoadStoreOptimizer] Generate more STPs by renaming registers earlier"
authorMartin Storsjö <martin@martin.st>
Thu, 10 Jun 2021 07:30:13 +0000 (10:30 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 10 Jun 2021 07:30:13 +0000 (10:30 +0300)
commit99653702fdca0e9a47f36456468c3a444ba50b3a
treeb6f1ede8ead4112d779c1ced7f0275a02adf8568
parentc0438a2c0f423bd6ca34c3de77503aa48029bb0e
Revert "[AArch64LoadStoreOptimizer] Generate more STPs by renaming registers earlier"

This reverts commit d96ea46629803641038ebe46d8cd512f8cf7e20f, as it
caused various misoptimizations, see https://reviews.llvm.org/D103597
for discussion on the issues.
llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
llvm/test/CodeGen/AArch64/GlobalISel/byval-call.ll
llvm/test/CodeGen/AArch64/consthoist-gep.ll
llvm/test/CodeGen/AArch64/ldst-opt.ll
llvm/test/CodeGen/AArch64/stp-opt-with-renaming.mir