This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Reduce repetitive codes in flw, fsw
ClosedPublic

Authored by achieveartificialintelligence on Dec 20 2021, 10:52 PM.

Details

Summary

Trying to improve code reuse in F,D,Zfh *.td files.

Diff Detail

Event Timeline

achieveartificialintelligence requested review of this revision.Dec 20 2021, 10:52 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 20 2021, 10:52 PM
craig.topper added inline comments.Dec 23 2021, 6:42 AM
llvm/lib/Target/RISCV/RISCVInstrInfoF.td
105

This is starting to break down the boundary between these files. You now have a D and Zfh extension predicate in the F file.

achieveartificialintelligence retitled this revision from [RISCV] Reduce repetitive codes in F,D,Zfh to [RISCV] Reduce repetitive codes in few, few.Dec 23 2021, 5:23 PM
achieveartificialintelligence retitled this revision from [RISCV] Reduce repetitive codes in few, few to [RISCV] Reduce repetitive codes in flw, fsw.
achieveartificialintelligence marked an inline comment as done.Dec 23 2021, 9:19 PM
achieveartificialintelligence added inline comments.
llvm/lib/Target/RISCV/RISCVInstrInfoF.td
105

This is starting to break down the boundary between these files. You now have a D and Zfh extension predicate in the F file.

I've removed this kind of codes.

This revision is now accepted and ready to land.Dec 24 2021, 8:28 AM
This revision was landed with ongoing or failed builds.Dec 26 2021, 5:29 PM
This revision was automatically updated to reflect the committed changes.
achieveartificialintelligence marked an inline comment as done.