[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 09:34:49 PDT 2024


================
@@ -360,8 +371,187 @@ define <3 x i14> @mul_splat_fold_vec(<3 x i14> %x) {
   ret <3 x i14> %t
 }
 
+define i32 @shl_add_lshr_flag_preservation(i32 %x, i32 %c, i32 %y) {
----------------
AtariDreams wrote:

Added! @dtcxzyw 

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


More information about the llvm-commits mailing list