2 Commits

Author SHA1 Message Date
Ting Wang
710923cdc8 [PowerPC] CTRLoop pseudo instructions should not be duplicated
Add isNotDuplicable to CTRLoop pseudo instructions, to avoid other pass
such as early-tailduplication break the loop structure by duplicating
pseudo instructions.

Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D132738
2022-08-30 04:32:29 -04:00
Ting Wang
f908cbc36f [NFC][PowerPC] Add test case to show ctrloop mi shall not be duplicated
Reviewed By: shchenz

Differential Revision: https://reviews.llvm.org/D132899
2022-08-30 01:57:22 -04:00