This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add rs2 encoding to the FPUnaryOp_r and FPUnaryOp_r_frm template arguments.
ClosedPublic

Authored by craig.topper on Dec 10 2021, 10:13 AM.

Details

Summary

Instead of having unary instruction include a 'let' in their class
body, add rs2val as a template parameter. Then we can use a let
in FPUnaryOp_r and FPUnaryOp_r_frm. This reduces the overall
verbosity of the FP files.

Diff Detail

Event Timeline

craig.topper created this revision.Dec 10 2021, 10:13 AM
craig.topper requested review of this revision.Dec 10 2021, 10:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 10 2021, 10:14 AM
Herald added a subscriber: MaskRay. · View Herald Transcript

Upload complete patch.

This revision is now accepted and ready to land.Dec 13 2021, 7:14 PM
This revision was landed with ongoing or failed builds.Dec 13 2021, 9:41 PM
This revision was automatically updated to reflect the committed changes.