[llvm] [InstCombine] Propagate disjoint flags during shl-binop transform (PR #91333)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri May 10 17:38:42 PDT 2024


================
@@ -294,6 +294,23 @@ define i8 @lshr_and_or(i8 %a, i8 %y)  {
   ret i8 %l
 }
 
+define i8 @lshr_and_or_disjoint(i8 %a, i8 %y)  {
----------------
dtcxzyw wrote:

Missing test with ashr.

Please just add a new commit. Don't force push again.


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


More information about the llvm-commits mailing list