diff options
Diffstat (limited to 'test/Instrumentation/DataFlowSanitizer')
-rw-r--r-- | test/Instrumentation/DataFlowSanitizer/abilist.ll | 12 | ||||
-rw-r--r-- | test/Instrumentation/DataFlowSanitizer/debug-nonzero-labels.ll | 4 | ||||
-rw-r--r-- | test/Instrumentation/DataFlowSanitizer/debug.ll | 16 | ||||
-rw-r--r-- | test/Instrumentation/DataFlowSanitizer/load.ll | 58 | ||||
-rw-r--r-- | test/Instrumentation/DataFlowSanitizer/store.ll | 52 |
5 files changed, 71 insertions, 71 deletions
diff --git a/test/Instrumentation/DataFlowSanitizer/abilist.ll b/test/Instrumentation/DataFlowSanitizer/abilist.ll index 9a45dbc..7998513 100644 --- a/test/Instrumentation/DataFlowSanitizer/abilist.ll +++ b/test/Instrumentation/DataFlowSanitizer/abilist.ll @@ -24,7 +24,7 @@ declare void @custom1(i32 %a, i32 %b) ; CHECK: define linkonce_odr { i32, i16 } @"dfsw$custom2"(i32, i32, i16, i16) ; CHECK: %[[LABELRETURN2:.*]] = alloca i16 ; CHECK: %[[RV:.*]] = call i32 @__dfsw_custom2 -; CHECK: %[[RVSHADOW:.*]] = load i16* %[[LABELRETURN2]] +; CHECK: %[[RVSHADOW:.*]] = load i16, i16* %[[LABELRETURN2]] ; CHECK: insertvalue {{.*}}[[RV]], 0 ; CHECK: insertvalue {{.*}}[[RVSHADOW]], 1 ; CHECK: ret { i32, i16 } @@ -56,16 +56,16 @@ define void @f(i32 %x) { ; CHECK: call void @__dfsw_customcb({{.*}} @"dfst0$customcb", i8* bitcast ({{.*}} @"dfs$cb" to i8*), i16 0) call void @customcb(i32 (i32)* @cb) - ; CHECK: %[[LABELVA1_0:.*]] = getelementptr inbounds [2 x i16]* %[[LABELVA1]], i32 0, i32 0 + ; CHECK: %[[LABELVA1_0:.*]] = getelementptr inbounds [2 x i16], [2 x i16]* %[[LABELVA1]], i32 0, i32 0 ; CHECK: store i16 0, i16* %[[LABELVA1_0]] - ; CHECK: %[[LABELVA1_1:.*]] = getelementptr inbounds [2 x i16]* %[[LABELVA1]], i32 0, i32 1 + ; CHECK: %[[LABELVA1_1:.*]] = getelementptr inbounds [2 x i16], [2 x i16]* %[[LABELVA1]], i32 0, i32 1 ; CHECK: store i16 %{{.*}}, i16* %[[LABELVA1_1]] - ; CHECK: %[[LABELVA1_0A:.*]] = getelementptr inbounds [2 x i16]* %[[LABELVA1]], i32 0, i32 0 + ; CHECK: %[[LABELVA1_0A:.*]] = getelementptr inbounds [2 x i16], [2 x i16]* %[[LABELVA1]], i32 0, i32 0 ; CHECK: call void (i32, i16, i16*, ...)* @__dfsw_custom3(i32 1, i16 0, i16* %[[LABELVA1_0A]], i32 2, i32 %{{.*}}) call void (i32, ...)* @custom3(i32 1, i32 2, i32 %x) - ; CHECK: %[[LABELVA2_0:.*]] = getelementptr inbounds [2 x i16]* %[[LABELVA2]], i32 0, i32 0 - ; CHECK: %[[LABELVA2_0A:.*]] = getelementptr inbounds [2 x i16]* %[[LABELVA2]], i32 0, i32 0 + ; CHECK: %[[LABELVA2_0:.*]] = getelementptr inbounds [2 x i16], [2 x i16]* %[[LABELVA2]], i32 0, i32 0 + ; CHECK: %[[LABELVA2_0A:.*]] = getelementptr inbounds [2 x i16], [2 x i16]* %[[LABELVA2]], i32 0, i32 0 ; CHECK: call i32 (i32, i16, i16*, i16*, ...)* @__dfsw_custom4(i32 1, i16 0, i16* %[[LABELVA2_0A]], i16* %[[LABELRETURN]], i32 2, i32 3) call i32 (i32, ...)* @custom4(i32 1, i32 2, i32 3) diff --git a/test/Instrumentation/DataFlowSanitizer/debug-nonzero-labels.ll b/test/Instrumentation/DataFlowSanitizer/debug-nonzero-labels.ll index 16de9cc..6632eb3 100644 --- a/test/Instrumentation/DataFlowSanitizer/debug-nonzero-labels.ll +++ b/test/Instrumentation/DataFlowSanitizer/debug-nonzero-labels.ll @@ -19,9 +19,9 @@ define i32 @f(i32, i32) { ; CHECK: [[CALLCMP:%.*]] = icmp ne i16 [[CALLLABEL]], 0 ; CHECK: br i1 [[CALLCMP]] %call = call i32 @g() - ; CHECK: [[LOCALLABEL:%.*]] = load i16* [[LOCALLABELALLOCA]] + ; CHECK: [[LOCALLABEL:%.*]] = load i16, i16* [[LOCALLABELALLOCA]] ; CHECK: [[LOCALCMP:%.*]] = icmp ne i16 [[LOCALLABEL]], 0 ; CHECK: br i1 [[LOCALCMP]] - %load = load i32* %i + %load = load i32, i32* %i ret i32 %load } diff --git a/test/Instrumentation/DataFlowSanitizer/debug.ll b/test/Instrumentation/DataFlowSanitizer/debug.ll index 837e953..9bab258 100644 --- a/test/Instrumentation/DataFlowSanitizer/debug.ll +++ b/test/Instrumentation/DataFlowSanitizer/debug.ll @@ -1,6 +1,6 @@ ; RUN: opt < %s -dfsan -dfsan-abilist=%S/Inputs/debuglist.txt -S | FileCheck %s -; CHECK: i32 ()* @main, {{.*}} ; [ DW_TAG_subprogram ] {{.*}} [main] +; CHECK: !MDSubprogram(name: "main",{{.*}} function: i32 ()* @main{{[,)]}} ; Generated from a simple source file compiled with clang -g: ; int main() { @@ -21,16 +21,16 @@ attributes #0 = { nounwind uwtable "less-precise-fpmad"="false" "no-frame-pointe !llvm.module.flags = !{!9, !10} !llvm.ident = !{!11} -!0 = !{!"0x11\004\00clang version 3.6.0 \000\00\000\00\001", !1, !2, !2, !3, !2, !2} ; [ DW_TAG_compile_unit ] [/tmp/dbginfo/debug.cpp] [DW_LANG_C_plus_plus] -!1 = !{!"debug.cpp", !"/tmp/dbginfo"} +!0 = !MDCompileUnit(language: DW_LANG_C_plus_plus, producer: "clang version 3.6.0 ", isOptimized: false, emissionKind: 1, file: !1, enums: !2, retainedTypes: !2, subprograms: !3, globals: !2, imports: !2) +!1 = !MDFile(filename: "debug.cpp", directory: "/tmp/dbginfo") !2 = !{} !3 = !{!4} -!4 = !{!"0x2e\00main\00main\00\001\000\001\000\000\00256\000\001", !1, !5, !6, null, i32 ()* @main, null, null, !2} ; [ DW_TAG_subprogram ] [line 1] [def] [main] -!5 = !{!"0x29", !1} ; [ DW_TAG_file_type ] [/tmp/dbginfo/debug.cpp] -!6 = !{!"0x15\00\000\000\000\000\000\000", null, null, null, !7, null, null, null} ; [ DW_TAG_subroutine_type ] [line 0, size 0, align 0, offset 0] [from ] +!4 = !MDSubprogram(name: "main", line: 1, isLocal: false, isDefinition: true, flags: DIFlagPrototyped, isOptimized: false, scopeLine: 1, file: !1, scope: !5, type: !6, function: i32 ()* @main, variables: !2) +!5 = !MDFile(filename: "debug.cpp", directory: "/tmp/dbginfo") +!6 = !MDSubroutineType(types: !7) !7 = !{!8} -!8 = !{!"0x24\00int\000\0032\0032\000\000\005", null, null} ; [ DW_TAG_base_type ] [int] [line 0, size 32, align 32, offset 0, enc DW_ATE_signed] +!8 = !MDBasicType(tag: DW_TAG_base_type, name: "int", size: 32, align: 32, encoding: DW_ATE_signed) !9 = !{i32 2, !"Dwarf Version", i32 4} -!10 = !{i32 2, !"Debug Info Version", i32 2} +!10 = !{i32 2, !"Debug Info Version", i32 3} !11 = !{!"clang version 3.6.0 "} !12 = !MDLocation(line: 2, column: 1, scope: !4) diff --git a/test/Instrumentation/DataFlowSanitizer/load.ll b/test/Instrumentation/DataFlowSanitizer/load.ll index 4d36c09..5bb3984 100644 --- a/test/Instrumentation/DataFlowSanitizer/load.ll +++ b/test/Instrumentation/DataFlowSanitizer/load.ll @@ -11,21 +11,21 @@ define {} @load0({}* %p) { ; NO_COMBINE_PTR_LABEL: @"dfs$load0" ; NO_COMBINE_PTR_LABEL: load ; NO_COMBINE_PTR_LABEL-NOT: load - %a = load {}* %p + %a = load {}, {}* %p ret {} %a } define i8 @load8(i8* %p) { ; COMBINE_PTR_LABEL: @"dfs$load8" - ; COMBINE_PTR_LABEL: load i16* + ; COMBINE_PTR_LABEL: load i16, i16* ; COMBINE_PTR_LABEL: ptrtoint i8* {{.*}} to i64 ; COMBINE_PTR_LABEL: and i64 ; COMBINE_PTR_LABEL: mul i64 ; COMBINE_PTR_LABEL: inttoptr i64 - ; COMBINE_PTR_LABEL: load i16* + ; COMBINE_PTR_LABEL: load i16, i16* ; COMBINE_PTR_LABEL: icmp ne i16 ; COMBINE_PTR_LABEL: call zeroext i16 @__dfsan_union - ; COMBINE_PTR_LABEL: load i8* + ; COMBINE_PTR_LABEL: load i8, i8* ; COMBINE_PTR_LABEL: store i16 {{.*}} @__dfsan_retval_tls ; COMBINE_PTR_LABEL: ret i8 @@ -34,12 +34,12 @@ define i8 @load8(i8* %p) { ; NO_COMBINE_PTR_LABEL: and i64 ; NO_COMBINE_PTR_LABEL: mul i64 ; NO_COMBINE_PTR_LABEL: inttoptr i64 {{.*}} to i16* - ; NO_COMBINE_PTR_LABEL: load i16* - ; NO_COMBINE_PTR_LABEL: load i8* + ; NO_COMBINE_PTR_LABEL: load i16, i16* + ; NO_COMBINE_PTR_LABEL: load i8, i8* ; NO_COMBINE_PTR_LABEL: store i16 {{.*}} @__dfsan_retval_tls ; NO_COMBINE_PTR_LABEL: ret i8 - %a = load i8* %p + %a = load i8, i8* %p ret i8 %a } @@ -50,13 +50,13 @@ define i16 @load16(i16* %p) { ; COMBINE_PTR_LABEL: mul i64 ; COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* ; COMBINE_PTR_LABEL: getelementptr i16 - ; COMBINE_PTR_LABEL: load i16* - ; COMBINE_PTR_LABEL: load i16* + ; COMBINE_PTR_LABEL: load i16, i16* + ; COMBINE_PTR_LABEL: load i16, i16* ; COMBINE_PTR_LABEL: icmp ne ; COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union ; COMBINE_PTR_LABEL: icmp ne i16 ; COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union - ; COMBINE_PTR_LABEL: load i16* + ; COMBINE_PTR_LABEL: load i16, i16* ; COMBINE_PTR_LABEL: store {{.*}} @__dfsan_retval_tls ; COMBINE_PTR_LABEL: ret i16 @@ -65,16 +65,16 @@ define i16 @load16(i16* %p) { ; NO_COMBINE_PTR_LABEL: and i64 ; NO_COMBINE_PTR_LABEL: mul i64 ; NO_COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* - ; NO_COMBINE_PTR_LABEL: getelementptr i16* - ; NO_COMBINE_PTR_LABEL: load i16* - ; NO_COMBINE_PTR_LABEL: load i16* + ; NO_COMBINE_PTR_LABEL: getelementptr i16, i16* + ; NO_COMBINE_PTR_LABEL: load i16, i16* + ; NO_COMBINE_PTR_LABEL: load i16, i16* ; NO_COMBINE_PTR_LABEL: icmp ne i16 ; NO_COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union - ; NO_COMBINE_PTR_LABEL: load i16* + ; NO_COMBINE_PTR_LABEL: load i16, i16* ; NO_COMBINE_PTR_LABEL: store i16 {{.*}} @__dfsan_retval_tls ; NO_COMBINE_PTR_LABEL: ret i16 - %a = load i16* %p + %a = load i16, i16* %p ret i16 %a } @@ -85,7 +85,7 @@ define i32 @load32(i32* %p) { ; COMBINE_PTR_LABEL: mul i64 ; COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* ; COMBINE_PTR_LABEL: bitcast i16* {{.*}} i64* - ; COMBINE_PTR_LABEL: load i64* + ; COMBINE_PTR_LABEL: load i64, i64* ; COMBINE_PTR_LABEL: trunc i64 {{.*}} i16 ; COMBINE_PTR_LABEL: shl i64 ; COMBINE_PTR_LABEL: lshr i64 @@ -93,7 +93,7 @@ define i32 @load32(i32* %p) { ; COMBINE_PTR_LABEL: icmp eq i64 ; COMBINE_PTR_LABEL: icmp ne i16 ; COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union - ; COMBINE_PTR_LABEL: load i32* + ; COMBINE_PTR_LABEL: load i32, i32* ; COMBINE_PTR_LABEL: store i16 {{.*}} @__dfsan_retval_tls ; COMBINE_PTR_LABEL: ret i32 ; COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union_load @@ -104,19 +104,19 @@ define i32 @load32(i32* %p) { ; NO_COMBINE_PTR_LABEL: mul i64 ; NO_COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* ; NO_COMBINE_PTR_LABEL: bitcast i16* {{.*}} i64* - ; NO_COMBINE_PTR_LABEL: load i64* + ; NO_COMBINE_PTR_LABEL: load i64, i64* ; NO_COMBINE_PTR_LABEL: trunc i64 {{.*}} i16 ; NO_COMBINE_PTR_LABEL: shl i64 ; NO_COMBINE_PTR_LABEL: lshr i64 ; NO_COMBINE_PTR_LABEL: or i64 ; NO_COMBINE_PTR_LABEL: icmp eq i64 - ; NO_COMBINE_PTR_LABEL: load i32* + ; NO_COMBINE_PTR_LABEL: load i32, i32* ; NO_COMBINE_PTR_LABEL: store i16 {{.*}} @__dfsan_retval_tls ; NO_COMBINE_PTR_LABEL: ret i32 ; NO_COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union_load - %a = load i32* %p + %a = load i32, i32* %p ret i32 %a } @@ -127,7 +127,7 @@ define i64 @load64(i64* %p) { ; COMBINE_PTR_LABEL: mul i64 ; COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* ; COMBINE_PTR_LABEL: bitcast i16* {{.*}} i64* - ; COMBINE_PTR_LABEL: load i64* + ; COMBINE_PTR_LABEL: load i64, i64* ; COMBINE_PTR_LABEL: trunc i64 {{.*}} i16 ; COMBINE_PTR_LABEL: shl i64 ; COMBINE_PTR_LABEL: lshr i64 @@ -135,12 +135,12 @@ define i64 @load64(i64* %p) { ; COMBINE_PTR_LABEL: icmp eq i64 ; COMBINE_PTR_LABEL: icmp ne i16 ; COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union - ; COMBINE_PTR_LABEL: load i64* + ; COMBINE_PTR_LABEL: load i64, i64* ; COMBINE_PTR_LABEL: store i16 {{.*}} @__dfsan_retval_tls ; COMBINE_PTR_LABEL: ret i64 ; COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union_load - ; COMBINE_PTR_LABEL: getelementptr i64* {{.*}} i64 - ; COMBINE_PTR_LABEL: load i64* + ; COMBINE_PTR_LABEL: getelementptr i64, i64* {{.*}} i64 + ; COMBINE_PTR_LABEL: load i64, i64* ; COMBINE_PTR_LABEL: icmp eq i64 ; NO_COMBINE_PTR_LABEL: @"dfs$load64" @@ -149,20 +149,20 @@ define i64 @load64(i64* %p) { ; NO_COMBINE_PTR_LABEL: mul i64 ; NO_COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* ; NO_COMBINE_PTR_LABEL: bitcast i16* {{.*}} i64* - ; NO_COMBINE_PTR_LABEL: load i64* + ; NO_COMBINE_PTR_LABEL: load i64, i64* ; NO_COMBINE_PTR_LABEL: trunc i64 {{.*}} i16 ; NO_COMBINE_PTR_LABEL: shl i64 ; NO_COMBINE_PTR_LABEL: lshr i64 ; NO_COMBINE_PTR_LABEL: or i64 ; NO_COMBINE_PTR_LABEL: icmp eq i64 - ; NO_COMBINE_PTR_LABEL: load i64* + ; NO_COMBINE_PTR_LABEL: load i64, i64* ; NO_COMBINE_PTR_LABEL: store i16 {{.*}} @__dfsan_retval_tls ; NO_COMBINE_PTR_LABEL: ret i64 ; NO_COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union_load - ; NO_COMBINE_PTR_LABEL: getelementptr i64* {{.*}} i64 - ; NO_COMBINE_PTR_LABEL: load i64* + ; NO_COMBINE_PTR_LABEL: getelementptr i64, i64* {{.*}} i64 + ; NO_COMBINE_PTR_LABEL: load i64, i64* ; NO_COMBINE_PTR_LABEL: icmp eq i64 - %a = load i64* %p + %a = load i64, i64* %p ret i64 %a } diff --git a/test/Instrumentation/DataFlowSanitizer/store.ll b/test/Instrumentation/DataFlowSanitizer/store.ll index 365b62d..a66cedf 100644 --- a/test/Instrumentation/DataFlowSanitizer/store.ll +++ b/test/Instrumentation/DataFlowSanitizer/store.ll @@ -18,25 +18,25 @@ define void @store0({} %v, {}* %p) { define void @store8(i8 %v, i8* %p) { ; NO_COMBINE_PTR_LABEL: @"dfs$store8" - ; NO_COMBINE_PTR_LABEL: load i16* {{.*}} @__dfsan_arg_tls + ; NO_COMBINE_PTR_LABEL: load i16, i16* {{.*}} @__dfsan_arg_tls ; NO_COMBINE_PTR_LABEL: ptrtoint i8* {{.*}} i64 ; NO_COMBINE_PTR_LABEL: and i64 ; NO_COMBINE_PTR_LABEL: mul i64 ; NO_COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* - ; NO_COMBINE_PTR_LABEL: getelementptr i16* + ; NO_COMBINE_PTR_LABEL: getelementptr i16, i16* ; NO_COMBINE_PTR_LABEL: store i16 ; NO_COMBINE_PTR_LABEL: store i8 ; COMBINE_PTR_LABEL: @"dfs$store8" - ; COMBINE_PTR_LABEL: load i16* - ; COMBINE_PTR_LABEL: load i16* + ; COMBINE_PTR_LABEL: load i16, i16* + ; COMBINE_PTR_LABEL: load i16, i16* ; COMBINE_PTR_LABEL: icmp ne i16 ; COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union ; COMBINE_PTR_LABEL: ptrtoint i8* {{.*}} i64 ; COMBINE_PTR_LABEL: and i64 ; COMBINE_PTR_LABEL: mul i64 ; COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* - ; COMBINE_PTR_LABEL: getelementptr i16* + ; COMBINE_PTR_LABEL: getelementptr i16, i16* ; COMBINE_PTR_LABEL: store i16 ; COMBINE_PTR_LABEL: store i8 @@ -46,29 +46,29 @@ define void @store8(i8 %v, i8* %p) { define void @store16(i16 %v, i16* %p) { ; NO_COMBINE_PTR_LABEL: @"dfs$store16" - ; NO_COMBINE_PTR_LABEL: load i16* {{.*}} @__dfsan_arg_tls + ; NO_COMBINE_PTR_LABEL: load i16, i16* {{.*}} @__dfsan_arg_tls ; NO_COMBINE_PTR_LABEL: ptrtoint i16* {{.*}} i64 ; NO_COMBINE_PTR_LABEL: and i64 ; NO_COMBINE_PTR_LABEL: mul i64 ; NO_COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* - ; NO_COMBINE_PTR_LABEL: getelementptr i16* + ; NO_COMBINE_PTR_LABEL: getelementptr i16, i16* ; NO_COMBINE_PTR_LABEL: store i16 - ; NO_COMBINE_PTR_LABEL: getelementptr i16* + ; NO_COMBINE_PTR_LABEL: getelementptr i16, i16* ; NO_COMBINE_PTR_LABEL: store i16 ; NO_COMBINE_PTR_LABEL: store i16 ; COMBINE_PTR_LABEL: @"dfs$store16" - ; COMBINE_PTR_LABEL: load i16* {{.*}} @__dfsan_arg_tls - ; COMBINE_PTR_LABEL: load i16* {{.*}} @__dfsan_arg_tls + ; COMBINE_PTR_LABEL: load i16, i16* {{.*}} @__dfsan_arg_tls + ; COMBINE_PTR_LABEL: load i16, i16* {{.*}} @__dfsan_arg_tls ; COMBINE_PTR_LABEL: icmp ne i16 ; COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union ; COMBINE_PTR_LABEL: ptrtoint i16* {{.*}} i64 ; COMBINE_PTR_LABEL: and i64 ; COMBINE_PTR_LABEL: mul i64 ; COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* - ; COMBINE_PTR_LABEL: getelementptr i16* + ; COMBINE_PTR_LABEL: getelementptr i16, i16* ; COMBINE_PTR_LABEL: store i16 - ; COMBINE_PTR_LABEL: getelementptr i16* + ; COMBINE_PTR_LABEL: getelementptr i16, i16* ; COMBINE_PTR_LABEL: store i16 ; COMBINE_PTR_LABEL: store i16 @@ -78,37 +78,37 @@ define void @store16(i16 %v, i16* %p) { define void @store32(i32 %v, i32* %p) { ; NO_COMBINE_PTR_LABEL: @"dfs$store32" - ; NO_COMBINE_PTR_LABEL: load i16* {{.*}} @__dfsan_arg_tls + ; NO_COMBINE_PTR_LABEL: load i16, i16* {{.*}} @__dfsan_arg_tls ; NO_COMBINE_PTR_LABEL: ptrtoint i32* {{.*}} i64 ; NO_COMBINE_PTR_LABEL: and i64 ; NO_COMBINE_PTR_LABEL: mul i64 ; NO_COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* - ; NO_COMBINE_PTR_LABEL: getelementptr i16* + ; NO_COMBINE_PTR_LABEL: getelementptr i16, i16* ; NO_COMBINE_PTR_LABEL: store i16 - ; NO_COMBINE_PTR_LABEL: getelementptr i16* + ; NO_COMBINE_PTR_LABEL: getelementptr i16, i16* ; NO_COMBINE_PTR_LABEL: store i16 - ; NO_COMBINE_PTR_LABEL: getelementptr i16* + ; NO_COMBINE_PTR_LABEL: getelementptr i16, i16* ; NO_COMBINE_PTR_LABEL: store i16 - ; NO_COMBINE_PTR_LABEL: getelementptr i16* + ; NO_COMBINE_PTR_LABEL: getelementptr i16, i16* ; NO_COMBINE_PTR_LABEL: store i16 ; NO_COMBINE_PTR_LABEL: store i32 ; COMBINE_PTR_LABEL: @"dfs$store32" - ; COMBINE_PTR_LABEL: load i16* {{.*}} @__dfsan_arg_tls - ; COMBINE_PTR_LABEL: load i16* {{.*}} @__dfsan_arg_tls + ; COMBINE_PTR_LABEL: load i16, i16* {{.*}} @__dfsan_arg_tls + ; COMBINE_PTR_LABEL: load i16, i16* {{.*}} @__dfsan_arg_tls ; COMBINE_PTR_LABEL: icmp ne i16 ; COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union ; COMBINE_PTR_LABEL: ptrtoint i32* {{.*}} i64 ; COMBINE_PTR_LABEL: and i64 ; COMBINE_PTR_LABEL: mul i64 ; COMBINE_PTR_LABEL: inttoptr i64 {{.*}} i16* - ; COMBINE_PTR_LABEL: getelementptr i16* + ; COMBINE_PTR_LABEL: getelementptr i16, i16* ; COMBINE_PTR_LABEL: store i16 - ; COMBINE_PTR_LABEL: getelementptr i16* + ; COMBINE_PTR_LABEL: getelementptr i16, i16* ; COMBINE_PTR_LABEL: store i16 - ; COMBINE_PTR_LABEL: getelementptr i16* + ; COMBINE_PTR_LABEL: getelementptr i16, i16* ; COMBINE_PTR_LABEL: store i16 - ; COMBINE_PTR_LABEL: getelementptr i16* + ; COMBINE_PTR_LABEL: getelementptr i16, i16* ; COMBINE_PTR_LABEL: store i16 ; COMBINE_PTR_LABEL: store i32 @@ -118,7 +118,7 @@ define void @store32(i32 %v, i32* %p) { define void @store64(i64 %v, i64* %p) { ; NO_COMBINE_PTR_LABEL: @"dfs$store64" - ; NO_COMBINE_PTR_LABEL: load i16* {{.*}} @__dfsan_arg_tls + ; NO_COMBINE_PTR_LABEL: load i16, i16* {{.*}} @__dfsan_arg_tls ; NO_COMBINE_PTR_LABEL: ptrtoint i64* {{.*}} i64 ; NO_COMBINE_PTR_LABEL: and i64 ; NO_COMBINE_PTR_LABEL: mul i64 @@ -135,8 +135,8 @@ define void @store64(i64 %v, i64* %p) { ; NO_COMBINE_PTR_LABEL: store i64 ; COMBINE_PTR_LABEL: @"dfs$store64" - ; COMBINE_PTR_LABEL: load i16* {{.*}} @__dfsan_arg_tls - ; COMBINE_PTR_LABEL: load i16* {{.*}} @__dfsan_arg_tls + ; COMBINE_PTR_LABEL: load i16, i16* {{.*}} @__dfsan_arg_tls + ; COMBINE_PTR_LABEL: load i16, i16* {{.*}} @__dfsan_arg_tls ; COMBINE_PTR_LABEL: icmp ne i16 ; COMBINE_PTR_LABEL: call {{.*}} @__dfsan_union ; COMBINE_PTR_LABEL: ptrtoint i64* {{.*}} i64 |