This is an archive of the discontinued LLVM Phabricator instance.

[NFC]][PowerPC] Remove unused intrinsic for old CTR loop pass

Authored by ZhangKang on Jun 10 2020, 12:39 AM.



In the patch D62907 the PPC CTRLoops pass has been replaced by Generic Hardware Loop pass,
and it has imported some new intrinsic for Generic Hardware Loop.

The old intrinsic used in PPC CTRLoops int_ppc_mtctr and int_ppc_is_decremented_ctr_nonzero
is been replaced by int_set_loop_iterations and loop_decrement.

This patch is to remove above unused two instrinsic.

Diff Detail

Event Timeline

ZhangKang created this revision.Jun 10 2020, 12:39 AM
shchenz accepted this revision.Jun 16 2020, 6:45 PM

LGTM. Thanks for cleaning this up.

This revision is now accepted and ready to land.Jun 16 2020, 6:45 PM
This revision was automatically updated to reflect the committed changes.