[llvm] [KnownBits] Implement knownbits lshr/ashr with exact flag (PR #84254)

via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 09:02:13 PST 2024


goldsteinn wrote:

> Can this patch improve the optimization? Could you please add some tests for demonstration?

Have a unittest that shows when `exact` can help, but ill change to a codegen test.

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


More information about the llvm-commits mailing list