[Hexagon] Make HexagonVLCR compatibile with New PM
authorPengxuan Zheng <pzheng@quicinc.com>
Mon, 21 Sep 2020 20:43:42 +0000 (13:43 -0700)
committerPengxuan Zheng <pzheng@quicinc.com>
Mon, 21 Sep 2020 20:45:12 +0000 (13:45 -0700)
commite5fea37f1a2ac5bb9782c49183d4f2c790a77833
tree6cb9b447ea16064fdca81f2bb809407678e43d82
parent36c64af9d7f97414d48681b74352c9684077259b
[Hexagon] Make HexagonVLCR compatibile with New PM

The patch modifies HexagonVectorLoopCarriedReuse pass to make it compatible with both Legacy Pass Manager through HexagonVectorLoopCarriedReuseLegacyPass and with New Pass Manager through HexagonVectorLoopCarriedReusePass.

Reviewed By: pzheng

Differential Revision: https://reviews.llvm.org/D86955
llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.h [new file with mode: 0644]