This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Use vmerge.vim for llvm.riscv.vfmerge with a 0.0 scalar operand.
ClosedPublic

Authored by craig.topper on Jan 11 2021, 4:07 PM.

Details

Summary

We can use a 0 immediate to avoid needing to materialize 0 into
an FPR first.

Diff Detail

Event Timeline

craig.topper created this revision.Jan 11 2021, 4:07 PM
craig.topper requested review of this revision.Jan 11 2021, 4:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 11 2021, 4:07 PM
Herald added a subscriber: MaskRay. · View Herald Transcript
This revision is now accepted and ready to land.Jan 12 2021, 1:13 AM