[llvm] [InstCombine] Fold ((X << nuw Z) binop nuw Y) >>u Z --> X binop nuw (Y >>u Z) (PR #88193)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Tue May 7 08:54:20 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) {
----------------
dtcxzyw wrote:
Missing test for `add` without nuw flag.
https://github.com/llvm/llvm-project/pull/88193
More information about the llvm-commits
mailing list