This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add patterns for vector widening floating-point reduction instructions.
ClosedPublic

Authored by jacquesguan on Feb 22 2022, 11:39 PM.

Details

Diff Detail

Event Timeline

jacquesguan created this revision.Feb 22 2022, 11:39 PM
jacquesguan requested review of this revision.Feb 22 2022, 11:39 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 11:44 PM
craig.topper added inline comments.Mar 4 2022, 9:40 AM
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
1157

Why do we check oneuse for fpext but not for riscv_fpextend_vl? Looks like we were inconsistent on this for integer too.

Change ext_vl to one use.

jacquesguan added inline comments.Mar 6 2022, 10:24 PM
llvm/lib/Target/RISCV/RISCVInstrInfoVVLPatterns.td
1157

Done, I also change the integer pattern.

This revision is now accepted and ready to land.Mar 7 2022, 10:19 AM
This revision was landed with ongoing or failed builds.Mar 7 2022, 6:54 PM
This revision was automatically updated to reflect the committed changes.