[llvm] [NFC][CodeGen] Use getAllocationSize instead of manual size computation (PR #178360)

Jameson Nash via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 28 07:05:38 PST 2026


vtjnash wrote:

Okay, I understand now. I updated to use `.value_or()` to prevent the assert in case of overflow

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


More information about the llvm-commits mailing list