[RISCV] Move hasOneUse() call after opcode check.
hasOneUse can be more expensive for nodes with multiple outputs. It's better to check the opcode first to skip nodes with multiple outputs. I have not seen an issue from this, just noticed while reviewing code for a possible enhancement.
parent
ece5dd10
Please register or sign in to comment