This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][NFC] Simplify code.
ClosedPublic

Authored by jacquesguan on Jun 15 2023, 8:15 PM.

Diff Detail

Event Timeline

jacquesguan created this revision.Jun 15 2023, 8:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2023, 8:15 PM
jacquesguan requested review of this revision.Jun 15 2023, 8:15 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2023, 8:15 PM
craig.topper added inline comments.Jun 15 2023, 9:49 PM
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
602

Since you’re here, we don’t need a SmallVector here.

Address comment.

jacquesguan marked an inline comment as done.Jun 15 2023, 11:56 PM
This revision is now accepted and ready to land.Jun 16 2023, 12:01 AM
This revision was automatically updated to reflect the committed changes.