[llvm] [VPlan] Introduce VPlan::getOne (NFC) (PR #221893)

Ramkumar Ramachandra via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 01:10:21 PDT 2026


artagnon wrote:

> I think it's better to keep the API consistent with Constant.h. There's no Constant::getOne, and similarly it's called Constant::getAllOnesValue

I think we've already deviated from it with getPoison? It's called APInt::getAllOnes, so I don't think we've been the most consistent?

https://github.com/llvm/llvm-project/pull/221893


More information about the llvm-commits mailing list