Skip to content

Commit f88477c

Browse files
committed
review: correct test-cases
1 parent 4cd0ccf commit f88477c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

llvm/test/CodeGen/DirectX/Metadata/loop-md-errs.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ exit:
3535

3636
;--- bad-count.ll
3737

38-
; CHECK: Second operand of "llvm.loop.unroll.count" must be a constant integer
38+
; CHECK: "llvm.loop.unroll.count" must have 2 operands and the second must be a constant integer
3939

4040
target triple = "dxilv1.0-unknown-shadermodel6.0-library"
4141

llvm/test/CodeGen/DirectX/metadata-stripping.ll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ _Z4mainDv3_j.exit: ; preds = %for.body.i, %entry
2424
; These next check lines check that only the range metadata remains
2525
; No more metadata should be necessary, the rest (the current 0 and 1)
2626
; should be removed.
27+
; CHECK-NOT: {!"llvm.loop.mustprogress"}
2728
; CHECK-DAG: [[RANGEMD]] = !{i32 1, i32 5}
2829
; CHECK-DAG: [[LOOPMD]] = distinct !{[[LOOPMD]]}
2930
; CHECK-NOT: {!"llvm.loop.mustprogress"}
30-
!0 = distinct !{!0, !1, !2}
31+
!0 = distinct !{!0, !1}
3132
!1 = !{!"llvm.loop.mustprogress"}
3233
!2 = !{i32 1, i32 5}

0 commit comments

Comments
 (0)