[lld] [InstCombine] Canonicalize `and(zext(A), B)` into `select A, B & 1, 0` (PR #66740)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 01:53:25 PDT 2023


dtcxzyw wrote:

> You might want to check whether this also fixes #66740 and if so add a test.

Confirmed. I have added a pre-commit test for 66733 in 1a73a6b80b54cd23ee8380c6fa3304847e5cb5d1.

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


More information about the llvm-commits mailing list