Skip to content
Unverified Commit b1bfe221 authored by Florian Hahn's avatar Florian Hahn
Browse files

[VPlan] Remove unneeded getNumUsers calls in replaceAllUsesWith (NFC).

As suggested post-commit for a0022719, replace unnecessary getNumUsers
calls by boolean variable to indicate if users changed. Note that this
also requires an early exit to detect the case where a value is replaced
by itself.
parent 2103de0c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment