This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][NFC] Use defvar to simplify pattern definations.
ClosedPublic

Authored by jacquesguan on Apr 7 2022, 1:55 AM.

Diff Detail

Event Timeline

jacquesguan created this revision.Apr 7 2022, 1:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2022, 1:55 AM
jacquesguan requested review of this revision.Apr 7 2022, 1:55 AM
frasercrmck accepted this revision.Apr 7 2022, 2:11 AM

LGTM, nice cleanup, thanks

llvm/lib/Target/RISCV/RISCVInstrInfoVSDPatterns.td
355

could maybe be one line if it's less than 80 cols? (here and below)

This revision is now accepted and ready to land.Apr 7 2022, 2:11 AM

Address comment.

This revision was landed with ongoing or failed builds.Apr 7 2022, 7:54 PM
This revision was automatically updated to reflect the committed changes.