[NewPM][Hexagon] Fix HexagonVectorLoopCarriedReusePass position in pipeline
authorArthur Eubanks <aeubanks@google.com>
Wed, 30 Dec 2020 03:54:32 +0000 (19:54 -0800)
committerArthur Eubanks <aeubanks@google.com>
Thu, 7 Jan 2021 23:04:28 +0000 (15:04 -0800)
commitb2dafd44ca7a975e3d58d68f3a24e36b2ceb2e1e
tree5a07e61492062bc5394d2210ffb726b1e67a1398
parent15f5971150684b656005cfd5b744c1a34477ff60
[NewPM][Hexagon] Fix HexagonVectorLoopCarriedReusePass position in pipeline

In https://reviews.llvm.org/D88138 this was incorrectly added with
registerOptimizerLastEPCallback(), when it should be
registerLoopOptimizerEndEPCallback(), matching the legacy PM's
EP_LoopOptimizerEnd.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D93929
llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp