Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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.
- Loading branch information