[PowerPC] guard update form prepare with non-const increment with option
authorChen Zheng <czhengsz@cn.ibm.com>
Tue, 9 Nov 2021 09:47:48 +0000 (09:47 +0000)
committerChen Zheng <czhengsz@cn.ibm.com>
Mon, 15 Nov 2021 02:16:46 +0000 (02:16 +0000)
commiteec9ca622c2df2bcf3ffa7fad5a2381b829758b7
tree54dd994209e27cc291968f719912bd380544bbd0
parent0c660256eb41fb0ba44277a32f39d2a028f797f2
[PowerPC] guard update form prepare with non-const increment with option

Reviewed By: jsji

Differential Revision: https://reviews.llvm.org/D113471
llvm/lib/Target/PowerPC/PPCLoopInstrFormPrep.cpp
llvm/test/CodeGen/PowerPC/common-chain.ll
llvm/test/CodeGen/PowerPC/loop-instr-prep-non-const-increasement.ll
llvm/test/CodeGen/PowerPC/lsr-profitable-chain.ll