r246391 - Fix test for Release builds, the label form is <label>:14, not <label>14.
Yaron Keren via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 30 10:46:43 PDT 2015
Author: yrnkrn
Date: Sun Aug 30 12:46:43 2015
New Revision: 246391
URL: http://llvm.org/viewvc/llvm-project?rev=246391&view=rev
Log:
Fix test for Release builds, the label form is <label>:14, not <label>14.
Modified:
cfe/trunk/test/CodeGen/sanitize-trap.c
Modified: cfe/trunk/test/CodeGen/sanitize-trap.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/sanitize-trap.c?rev=246391&r1=246390&r2=246391&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/sanitize-trap.c (original)
+++ cfe/trunk/test/CodeGen/sanitize-trap.c Sun Aug 30 12:46:43 2015
@@ -7,24 +7,24 @@ int f(int x, int y) {
// CHECK: %[[B4:.*]] = or i1 %[[B2]], %[[B3]]
// CHECK: br i1 %[[B1]], label %[[L1:[0-9a-z_.]*]], label %[[L2:[0-9a-z_.]*]]
- // {{^|>}} used to match both Debug form of the captured label
+ // {{^|:}} used to match both Debug form of the captured label
// cont:
// and Release form
- // ; <label>14
+ // ; <label>:14
// But avoids false matches inside other numbers such as [114 x i8].
- // CHECK: {{^|>}}[[L2]]
+ // CHECK: {{^|:}}[[L2]]
// CHECK-NEXT: call void @llvm.trap()
// CHECK-NEXT: unreachable
- // CHECK: {{^|>}}[[L1]]
+ // CHECK: {{^|:}}[[L1]]
// CHECK-NEXT: br i1 %[[B4]], label %[[L3:[0-9a-z_.]*]], label %[[L4:[0-9a-z_.]*]]
- // CHECK: {{^|>}}[[L4]]
+ // CHECK: {{^|:}}[[L4]]
// CHECK-NEXT: zext
// CHECK-NEXT: zext
// CHECK-NEXT: __ubsan_handle_divrem_overflow
- // CHECK: {{^|>}}[[L3]]
+ // CHECK: {{^|:}}[[L3]]
// CHECK-NEXT: sdiv i32 %[[N]], %[[D]]
return x / y;
}
More information about the cfe-commits
mailing list