This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Optimize vfmv.s.f intrinisc with scalar 0.0 to vmv.s.x with x0.
ClosedPublic

Authored by craig.topper on Mar 10 2022, 5:04 PM.

Details

Summary

We already do this for RISCVISD::VFMV_S_F_VL and the vfmv.v.f
intrinsic.

Diff Detail

Event Timeline

craig.topper created this revision.Mar 10 2022, 5:04 PM
craig.topper requested review of this revision.Mar 10 2022, 5:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 10 2022, 5:04 PM
kito-cheng accepted this revision.Mar 10 2022, 5:53 PM

LGTM :)

This revision is now accepted and ready to land.Mar 10 2022, 5:53 PM