[llvm] [VPlan] Introduce VPValue::has[No]Users (NFC) (PR #203518)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 02:42:00 PDT 2026
artagnon wrote:
> Looks handy. It would be nice to align the naming of this with LLVM IR's `Value::use_empty()`/`Value::user_empty()` though, what do you think?
I considered it instead of hasNoUsers(), but what would hasUsers() be? I think this inherently does not align with (User|Use), otherwise we'd have choose to keep getNumUsers()?
https://github.com/llvm/llvm-project/pull/203518
More information about the llvm-commits
mailing list