[clang] [llvm] [InstCombine] Infer zext nneg flag (PR #71534)

Yingwei Zheng via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 7 09:26:02 PST 2023


https://github.com/dtcxzyw approved this pull request.

LGTM. Thanks!
We can improve the compile time by adding `nneg` flag during the zext creation (e.g., `cttz(zext(x)) -> zext nneg(cttz(x))`).


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


More information about the cfe-commits mailing list