This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Select int_riscv_vsll with shift of 1 to vadd.vv.
ClosedPublic

Authored by craig.topper on Jan 23 2022, 9:40 PM.

Details

Summary

Add might be faster than shift. We can't do this earlier without
using a Freeze instruction.

This is the intrinsic version of D106689.

Diff Detail

Event Timeline

craig.topper created this revision.Jan 23 2022, 9:40 PM
craig.topper requested review of this revision.Jan 23 2022, 9:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 23 2022, 9:40 PM
This revision is now accepted and ready to land.Jan 24 2022, 2:27 AM
This revision was landed with ongoing or failed builds.Jan 24 2022, 8:05 AM
This revision was automatically updated to reflect the committed changes.