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