[llvm] [KnownBits] Add KnownBits::add and KnownBits::sub helper wrappers. (PR #99468)

via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 10 08:02:17 PDT 2024


goldsteinn wrote:

> I've added NSW/NUW arguments that default to false - although this means we can't easily use these in llvm::function_ref callbacks anymore

You could add a wrapper `addNoWrap` and `subNoWrap` for the callback case.

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


More information about the llvm-commits mailing list