[llvm] [InstCombine] Fold ((X << nuw Z) binop nuw Y) >>u Z --> X binop nuw (Y >>u Z) (PR #88193)

via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 08:07:16 PDT 2024


AtariDreams wrote:

I just realized I forgot to fix the order of the sub because the order matters, we do not canonicalize it.

I fixed the miscompile, I apologize @dtcxzyw 

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


More information about the llvm-commits mailing list