This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Use Triple::isRISCV/isRISCV32/isRISCV64 helps in some places. NFC
ClosedPublic

Authored by craig.topper on Aug 18 2022, 7:03 PM.

Diff Detail

Event Timeline

craig.topper created this revision.Aug 18 2022, 7:03 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 18 2022, 7:03 PM
craig.topper requested review of this revision.Aug 18 2022, 7:03 PM
reames accepted this revision.Aug 19 2022, 7:22 AM

LGTM w/ optional comment.

clang/lib/Driver/ToolChains/Linux.cpp
741 ↗(On Diff #453861)

I would leave this one unchanged for consistency with surrounding code.

This revision is now accepted and ready to land.Aug 19 2022, 7:22 AM
craig.topper added inline comments.Aug 19 2022, 7:58 AM
clang/lib/Driver/ToolChains/Linux.cpp
741 ↗(On Diff #453861)

It’s consistent with MIPS further up, but I can change it back.

This revision was landed with ongoing or failed builds.Aug 19 2022, 9:11 AM
This revision was automatically updated to reflect the committed changes.