We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae3d759 commit 7bbf801Copy full SHA for 7bbf801
llvm/test/Transforms/ConstraintElimination/shr-exact.ll
@@ -153,7 +153,8 @@ entry:
153
ret i1 %cmp
154
}
155
156
-
+; LShr doesn't preserve the sign of the value, so we cannot perform
157
+; the transformation for signed comparisons.
158
define i1 @precond_icmp_lshr_and_lshr_signed_pred(i64 %x, i64 %y) {
159
; CHECK-LABEL: define i1 @precond_icmp_lshr_and_lshr_signed_pred(
160
; CHECK-SAME: i64 [[X:%.*]], i64 [[Y:%.*]]) {
0 commit comments