[llvm] [InstCombine] Fold `(add X, (sext/zext (icmp eq X, C)))` (PR #93840)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Thu May 30 10:47:02 PDT 2024
dtcxzyw wrote:
The IR diff LGTM. And there is no extra space for us to generalize this pattern (e.g., add->sub, eq -> ne) :)
https://github.com/llvm/llvm-project/pull/93840
More information about the llvm-commits
mailing list