Skip to content
Commit 51438184 authored by Craig Topper's avatar Craig Topper
Browse files

[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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment