We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#122590 and #122700 miscompile the following code:
define i1 @src(i8 %L0, i8 %L1, i1 %V) { %LHS = icmp samesign ugt i8 %L0, %L1 %R0 = sub nsw i8 %L0, %L1 %RHS = icmp ult i8 %R0, -1 br i1 %LHS, label %LHS_true, label %LHS_false LHS_true: br label %EXIT LHS_false: br label %EXIT EXIT: %RET = phi i1 [ %RHS, %LHS_true ], [ %V, %LHS_false ] ret i1 %RET }
%RHS should be 1: https://alive2.llvm.org/ce/z/RscAzy.
%RHS
The text was updated successfully, but these errors were encountered:
SignedLPred
isImpliedByMatchingCmp
[ValueTracking] Pass changed predicate SignedLPred to `isImpliedByM…
c546b53
…atchingCmp` (#124271) Fixes #124267. Since we are using the new predicate, we should also update the parameters of `isImpliedByMatchingCmp`.
dianqk
Successfully merging a pull request may close this issue.
#122590 and #122700 miscompile the following code:
%RHS
should be 1: https://alive2.llvm.org/ce/z/RscAzy.The text was updated successfully, but these errors were encountered: