HomePhabricator

[Statepoint] Remove redundant clear of call target on register

Authored by skatkov on Feb 11 2020, 11:28 PM.

Description

[Statepoint] Remove redundant clear of call target on register

Patchable statepoint is lowered into sequence of nops, so zeroed call target
should not be on register. It is better to use getTargetConstant instead
of getConstant to select zero constant for call target.

Reviewers: reames
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D74465

Details