[PowerPC] common chains to reuse offsets to reduce register pressure.
authorChen Zheng <czhengsz@cn.ibm.com>
Mon, 25 Oct 2021 03:27:16 +0000 (03:27 +0000)
committerChen Zheng <czhengsz@cn.ibm.com>
Mon, 25 Oct 2021 03:27:16 +0000 (03:27 +0000)
commit80e6aff6bbad9a5959f8491b616438cc8792f32a
tree52c69db78903acfb7cb0b6476ede094d3701575e
parentac14b8396e610276e221958445764fca1c936015
[PowerPC] common chains to reuse offsets to reduce register pressure.

Add a new preparation pattern in PPCLoopInstFormPrep pass to reduce register
pressure.

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D108750
llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
llvm/test/CodeGen/PowerPC/common-chain.ll