[llvm] [InstCombine] Fold `[l|a]shr iN (X-1)&~X, N-1 -> [z|s]ext(X==0)` (PR #107259)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 4 19:03:01 PDT 2024
dtcxzyw wrote:
I don't see the value of generalizing this pattern. This pattern only exists in cryptographic libraries. We can extend it in the future if possible.
https://github.com/llvm/llvm-project/pull/107259
More information about the llvm-commits
mailing list