Files
clang-p2996/llvm/lib/Transforms/Vectorize/VPlan.cpp
Florian Hahn b1bfe221e6 [VPlan] Remove unneeded getNumUsers calls in replaceAllUsesWith (NFC).
As suggested post-commit for a00227197, 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.
2023-12-15 13:43:15 +00:00

45 KiB