This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Set FMOVS0 and FMOVD0 as isAsCheapAsAMove when needed.
ClosedPublic

Authored by haicheng on Jul 11 2016, 9:39 PM.

Details

Summary

If a subtarget has both ZCZeroing and CustomCheapAsMoveHandling features (now only Kryo has both), set FMOVS0 and FMOVD0 isAsCheapAsAMove.

Diff Detail

Repository
rL LLVM

Event Timeline

haicheng updated this revision to Diff 63637.Jul 11 2016, 9:39 PM
haicheng retitled this revision from to [AArch64] Set FMOVS0 and FMOVD0 as isAsCheapAsAMove when needed..
haicheng updated this object.
haicheng added reviewers: MatzeB, mcrosier, mssimpso.
haicheng set the repository for this revision to rL LLVM.
haicheng added subscribers: t.p.northover, llvm-commits.
t.p.northover accepted this revision.Jul 12 2016, 8:05 AM
t.p.northover added a reviewer: t.p.northover.

Looks fine to me.

Tim.

This revision is now accepted and ready to land.Jul 12 2016, 8:05 AM
This revision was automatically updated to reflect the committed changes.