Skip to content
Commit 3e9986f3 authored by Davide Italiano's avatar Davide Italiano
Browse files

[Target] Use hasOneUse() instead of getNumUses().

The latter does a liner scan over a linked list, therefore is
much more expensive.

llvm-svn: 300518
parent 7c0d74aa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment