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

[CallSiteSplitting] Use !Instruction::use_empty instead of checking for a...

[CallSiteSplitting] Use !Instruction::use_empty instead of checking for a non-zero return from getNumUses

getNumUses is a linear operation. It walks a linked list to get a count. So in this case its better to just ask if there are any users rather than how many.

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