[llvm] [InstCombine] Preserve nuw/exact flags when transforming (C shift (A add nuw C1)) --> ((C shift C1) shift A). (PR #79490)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 26 08:41:39 PST 2024
https://github.com/nikic commented:
Generalized proofs: https://alive2.llvm.org/ce/z/mB-rWz
Note that you can preserve nsw as well.
https://github.com/llvm/llvm-project/pull/79490
More information about the llvm-commits
mailing list