[llvm] [ConstraintElim] Check the other signedness when hasSameSign (PR #128168)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 21 07:49:02 PST 2025


================
@@ -303,3 +303,23 @@ define i1 @ugt_assumed_positive_values(i8 %a, i8 %b) {
 
   ret i1 %result
 }
+
+define i1 @samesign_flipped_signedness(i8 %a)  {
----------------
dtcxzyw wrote:

Can you add the test https://github.com/llvm/llvm-project/issues/120089#issuecomment-2635581659?


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


More information about the llvm-commits mailing list