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 ebf1fea commit 2b74db6Copy full SHA for 2b74db6
llvm/test/Transforms/ConstraintElimination/large-constant-ints.ll
@@ -418,4 +418,17 @@ entry:
418
ret i1 %res
419
}
420
421
+; FIXME: This is a miscompile.
422
+define i1 @pr68751(i128 %arg) {
423
+; CHECK-LABEL: @pr68751(
424
+; CHECK-NEXT: [[SHL1:%.*]] = shl nuw nsw i128 [[ARG:%.*]], 32
425
+; CHECK-NEXT: [[SHL2:%.*]] = shl nuw nsw i128 [[SHL1]], 32
426
+; CHECK-NEXT: ret i1 true
427
+;
428
+ %shl1 = shl nuw nsw i128 %arg, 32
429
+ %shl2 = shl nuw nsw i128 %shl1, 32
430
+ %cmp = icmp eq i128 %shl2, 0
431
+ ret i1 %cmp
432
+}
433
+
434
declare void @llvm.assume(i1)
0 commit comments