HomePhabricator

[RISCV] Use a macro to simplify getTargetNodeName

Authored by frasercrmck on Nov 13 2020, 4:24 AM.

Description

[RISCV] Use a macro to simplify getTargetNodeName

Similar to the X86 and AMDGPU targets, this uses a macro to cut down on
repetitive and error-prone code when converting RISCVISD node names to
strings in getTargetNodeName.

Reviewed By: asb

Differential Revision: https://reviews.llvm.org/D91414

Details

Committed
frasercrmckNov 16 2020, 1:33 AM
Reviewer
asb
Differential Revision
D91414: [RISCV] Use a macro to simplify getTargetNodeName
Parents
rG15a2bacab6e1: [VE] Change variable capitalization
Branches
Unknown
Tags
Unknown