[PowerPC] mark dead def for ctr be clobber.
authorChen Zheng <czhengsz@cn.ibm.com>
Thu, 17 Nov 2022 05:18:04 +0000 (05:18 +0000)
committerChen Zheng <czhengsz@cn.ibm.com>
Fri, 18 Nov 2022 06:55:42 +0000 (06:55 +0000)
commitf034c98af000f9b1d260bee036ecf653062e1e90
treeb01a9da9e34ea08e5cc56444ef140256baf49045
parenta6440b0fc535f660334cb48ca002e2fb34f5c4b4
[PowerPC] mark dead def for ctr be clobber.

TLS pseudo ADDIStlsgdHA will have such def. This dead def should
also prevent PPC from generating CTR loops.
llvm/lib/Target/PowerPC/PPCCTRLoops.cpp
llvm/test/CodeGen/PowerPC/ctrloops64.mir