You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason this is not handled by constraint-elimination is that support for signed conditions is not available on main yet. I put up a patch for initial signed support: https://reviews.llvm.org/D118806
GCC is able to eliminate the third assert in the following code:
https://gcc.godbolt.org/z/s9a9YM6GK
However, if I change the type from
int
tounsigned int
LLVM is able to figure it out.The text was updated successfully, but these errors were encountered: