diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-04-10 20:18:21 +0000 |
|---|---|---|
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-04-10 20:18:21 +0000 |
| commit | f10061ec708ef787398649f3eb073c6ca3acd73d (patch) | |
| tree | 5949d7ce9679b7e663a7f4fad605cddae4c5199c /llvm/test/CodeGen/PowerPC | |
| parent | 324c99dee5096be095adc3972c4a512ca0f74090 (diff) | |
| download | bcm5719-llvm-f10061ec708ef787398649f3eb073c6ca3acd73d.tar.gz bcm5719-llvm-f10061ec708ef787398649f3eb073c6ca3acd73d.zip | |
Add address space mangling to lifetime intrinsics
In preparation for allowing allocas to have non-0 addrspace.
llvm-svn: 299876
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/BreakableToken-reduced.ll | 4 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/addi-licm.ll | 8 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/ctrloop-intrin.ll | 12 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/lsa.ll | 16 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/pr30451.ll | 20 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/swaps-le-4.ll | 8 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll | 6 | ||||
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/toc-load-sched-bug.ll | 28 |
8 files changed, 51 insertions, 51 deletions
diff --git a/llvm/test/CodeGen/PowerPC/BreakableToken-reduced.ll b/llvm/test/CodeGen/PowerPC/BreakableToken-reduced.ll index 39516537da4..dcc09304168 100644 --- a/llvm/test/CodeGen/PowerPC/BreakableToken-reduced.ll +++ b/llvm/test/CodeGen/PowerPC/BreakableToken-reduced.ll @@ -265,12 +265,12 @@ _ZNK4llvm9StringRef10startswithES0_.exit: ; preds = %entry._ZNK4llvm9Str } ; Function Attrs: nounwind argmemonly -declare void @llvm.lifetime.start(i64, i8* nocapture) #2 +declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) #2 declare void @_ZN5clang6format17WhitespaceManager24replaceWhitespaceInTokenERKNS0_11FormatTokenEjjN4llvm9StringRefES6_bjji(%"class.clang::format::WhitespaceManager"*, %"struct.clang::format::FormatToken"* dereferenceable(272), i32 zeroext, i32 zeroext, [2 x i64], [2 x i64], i1 zeroext, i32 zeroext, i32 zeroext, i32 signext) #3 ; Function Attrs: nounwind argmemonly -declare void @llvm.lifetime.end(i64, i8* nocapture) #2 +declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #2 attributes #9 = { nounwind } diff --git a/llvm/test/CodeGen/PowerPC/addi-licm.ll b/llvm/test/CodeGen/PowerPC/addi-licm.ll index 37a14899deb..d0178a8aec0 100644 --- a/llvm/test/CodeGen/PowerPC/addi-licm.ll +++ b/llvm/test/CodeGen/PowerPC/addi-licm.ll @@ -9,9 +9,9 @@ entry: %x = alloca [2048 x float], align 4 %y = alloca [2048 x float], align 4 %0 = bitcast [2048 x float]* %x to i8* - call void @llvm.lifetime.start(i64 8192, i8* %0) #2 + call void @llvm.lifetime.start.p0i8(i64 8192, i8* %0) #2 %1 = bitcast [2048 x float]* %y to i8* - call void @llvm.lifetime.start(i64 8192, i8* %1) #2 + call void @llvm.lifetime.start.p0i8(i64 8192, i8* %1) #2 br label %for.body.i ; CHECK-LABEL: @foo @@ -50,12 +50,12 @@ loop.exit: ; preds = %for.body.i } ; Function Attrs: nounwind -declare void @llvm.lifetime.start(i64, i8* nocapture) #2 +declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) #2 declare void @bar(float*, float*) ; Function Attrs: nounwind -declare void @llvm.lifetime.end(i64, i8* nocapture) #2 +declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #2 attributes #0 = { nounwind readonly } attributes #1 = { nounwind } diff --git a/llvm/test/CodeGen/PowerPC/ctrloop-intrin.ll b/llvm/test/CodeGen/PowerPC/ctrloop-intrin.ll index 3a6e8855971..6ae5d3368c1 100644 --- a/llvm/test/CodeGen/PowerPC/ctrloop-intrin.ll +++ b/llvm/test/CodeGen/PowerPC/ctrloop-intrin.ll @@ -17,10 +17,10 @@ target triple = "powerpc64le--linux-gnu" @.str.11.98 = external hidden unnamed_addr constant [3 x i8], align 1 ; Function Attrs: nounwind -declare void @llvm.lifetime.start(i64, i8* nocapture) #0 +declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) #0 ; Function Attrs: nounwind -declare void @llvm.lifetime.end(i64, i8* nocapture) #0 +declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #0 ; Function Attrs: nounwind declare i8* @halide_string_to_string(i8*, i8*, i8*) #1 @@ -36,7 +36,7 @@ entry: %buf = alloca [512 x i8], align 1 store double %arg, double* %arg.addr, align 8, !tbaa !4 %0 = bitcast i64* %bits to i8* - call void @llvm.lifetime.start(i64 8, i8* %0) #0 + call void @llvm.lifetime.start.p0i8(i64 8, i8* %0) #0 store i64 0, i64* %bits, align 8, !tbaa !8 %1 = bitcast double* %arg.addr to i8* %call = call i8* @memcpy(i8* %0, i8* %1, i64 8) #2 @@ -245,7 +245,7 @@ if.end.105: ; preds = %if.end.84, %if.end. %integer_exponent.0 = phi i32 [ 0, %if.end.84 ], [ %sub70, %if.end.66 ] %fractional_part.2 = phi i64 [ %.fractional_part.0, %if.end.84 ], [ 0, %if.end.66 ] %7 = bitcast [512 x i8]* %buf to i8* - call void @llvm.lifetime.start(i64 512, i8* %7) #0 + call void @llvm.lifetime.start.p0i8(i64 512, i8* %7) #0 %add.ptr = getelementptr inbounds [512 x i8], [512 x i8]* %buf, i64 0, i64 512 %add.ptr106 = getelementptr inbounds [512 x i8], [512 x i8]* %buf, i64 0, i64 480 %call109 = call i8* @halide_int64_to_string(i8* %add.ptr106, i8* %add.ptr, i64 %integer_part.2, i32 1) #3 @@ -272,7 +272,7 @@ for.cond.cleanup: ; preds = %if.end.138, %if.end %call142 = call i8* @halide_string_to_string(i8* %dst.addr.0, i8* %end, i8* %int_part_ptr.0.lcssa) #3 %call143 = call i8* @halide_string_to_string(i8* %call142, i8* %end, i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.9.96, i64 0, i64 0)) #3 %call144 = call i8* @halide_int64_to_string(i8* %call143, i8* %end, i64 %fractional_part.2, i32 6) #3 - call void @llvm.lifetime.end(i64 512, i8* %9) #0 + call void @llvm.lifetime.end.p0i8(i64 512, i8* %9) #0 br label %cleanup.148 for.cond.cleanup.115: ; preds = %for.body.116 @@ -315,7 +315,7 @@ if.end.138: ; preds = %if.then.136, %for.c cleanup.148: ; preds = %for.cond.cleanup, %if.then.64, %if.end.59, %if.else.30, %if.then.28, %if.else.24, %if.then.22, %if.else.13, %if.then.11, %if.else, %if.then.6 %retval.1 = phi i8* [ %call7, %if.then.6 ], [ %call8, %if.else ], [ %call12, %if.then.11 ], [ %call14, %if.else.13 ], [ %call23, %if.then.22 ], [ %call25, %if.else.24 ], [ %call29, %if.then.28 ], [ %call31, %if.else.30 ], [ %call65, %if.then.64 ], [ %call61, %if.end.59 ], [ %call144, %for.cond.cleanup ] %13 = bitcast i64* %bits to i8* - call void @llvm.lifetime.end(i64 8, i8* %13) #0 + call void @llvm.lifetime.end.p0i8(i64 8, i8* %13) #0 ret i8* %retval.1 } diff --git a/llvm/test/CodeGen/PowerPC/lsa.ll b/llvm/test/CodeGen/PowerPC/lsa.ll index dc74b9dbca2..d0ebd473133 100644 --- a/llvm/test/CodeGen/PowerPC/lsa.ll +++ b/llvm/test/CodeGen/PowerPC/lsa.ll @@ -8,11 +8,11 @@ entry: %w = alloca [8200 x i32], align 4 %q = alloca [8200 x i32], align 4 %0 = bitcast [8200 x i32]* %v to i8* - call void @llvm.lifetime.start(i64 32800, i8* %0) #0 + call void @llvm.lifetime.start.p0i8(i64 32800, i8* %0) #0 %1 = bitcast [8200 x i32]* %w to i8* - call void @llvm.lifetime.start(i64 32800, i8* %1) #0 + call void @llvm.lifetime.start.p0i8(i64 32800, i8* %1) #0 %2 = bitcast [8200 x i32]* %q to i8* - call void @llvm.lifetime.start(i64 32800, i8* %2) #0 + call void @llvm.lifetime.start.p0i8(i64 32800, i8* %2) #0 %arraydecay = getelementptr inbounds [8200 x i32], [8200 x i32]* %q, i64 0, i64 0 %arraydecay1 = getelementptr inbounds [8200 x i32], [8200 x i32]* %v, i64 0, i64 0 %arraydecay2 = getelementptr inbounds [8200 x i32], [8200 x i32]* %w, i64 0, i64 0 @@ -28,16 +28,16 @@ entry: ; CHECK: blr %add = add nsw i32 %4, %3 - call void @llvm.lifetime.end(i64 32800, i8* %2) #0 - call void @llvm.lifetime.end(i64 32800, i8* %1) #0 - call void @llvm.lifetime.end(i64 32800, i8* %0) #0 + call void @llvm.lifetime.end.p0i8(i64 32800, i8* %2) #0 + call void @llvm.lifetime.end.p0i8(i64 32800, i8* %1) #0 + call void @llvm.lifetime.end.p0i8(i64 32800, i8* %0) #0 ret i32 %add } -declare void @llvm.lifetime.start(i64, i8* nocapture) #0 +declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) #0 declare void @bar(i32*, i32*, i32*) -declare void @llvm.lifetime.end(i64, i8* nocapture) #0 +declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #0 attributes #0 = { nounwind } diff --git a/llvm/test/CodeGen/PowerPC/pr30451.ll b/llvm/test/CodeGen/PowerPC/pr30451.ll index 930553451cf..9b07df00f9c 100644 --- a/llvm/test/CodeGen/PowerPC/pr30451.ll +++ b/llvm/test/CodeGen/PowerPC/pr30451.ll @@ -3,11 +3,11 @@ define i8 @atomic_min_i8() { top: %0 = alloca i8, align 2 %1 = bitcast i8* %0 to i8* - call void @llvm.lifetime.start(i64 2, i8* %1) + call void @llvm.lifetime.start.p0i8(i64 2, i8* %1) store i8 -1, i8* %0, align 2 %2 = atomicrmw min i8* %0, i8 0 acq_rel %3 = load atomic i8, i8* %0 acquire, align 8 - call void @llvm.lifetime.end(i64 2, i8* %1) + call void @llvm.lifetime.end.p0i8(i64 2, i8* %1) ret i8 %3 ; CHECK-LABEL: atomic_min_i8 ; CHECK: lbarx [[DST:[0-9]+]], @@ -19,11 +19,11 @@ define i16 @atomic_min_i16() { top: %0 = alloca i16, align 2 %1 = bitcast i16* %0 to i8* - call void @llvm.lifetime.start(i64 2, i8* %1) + call void @llvm.lifetime.start.p0i8(i64 2, i8* %1) store i16 -1, i16* %0, align 2 %2 = atomicrmw min i16* %0, i16 0 acq_rel %3 = load atomic i16, i16* %0 acquire, align 8 - call void @llvm.lifetime.end(i64 2, i8* %1) + call void @llvm.lifetime.end.p0i8(i64 2, i8* %1) ret i16 %3 ; CHECK-LABEL: atomic_min_i16 ; CHECK: lharx [[DST:[0-9]+]], @@ -36,11 +36,11 @@ define i8 @atomic_max_i8() { top: %0 = alloca i8, align 2 %1 = bitcast i8* %0 to i8* - call void @llvm.lifetime.start(i64 2, i8* %1) + call void @llvm.lifetime.start.p0i8(i64 2, i8* %1) store i8 -1, i8* %0, align 2 %2 = atomicrmw max i8* %0, i8 0 acq_rel %3 = load atomic i8, i8* %0 acquire, align 8 - call void @llvm.lifetime.end(i64 2, i8* %1) + call void @llvm.lifetime.end.p0i8(i64 2, i8* %1) ret i8 %3 ; CHECK-LABEL: atomic_max_i8 ; CHECK: lbarx [[DST:[0-9]+]], @@ -52,11 +52,11 @@ define i16 @atomic_max_i16() { top: %0 = alloca i16, align 2 %1 = bitcast i16* %0 to i8* - call void @llvm.lifetime.start(i64 2, i8* %1) + call void @llvm.lifetime.start.p0i8(i64 2, i8* %1) store i16 -1, i16* %0, align 2 %2 = atomicrmw max i16* %0, i16 0 acq_rel %3 = load atomic i16, i16* %0 acquire, align 8 - call void @llvm.lifetime.end(i64 2, i8* %1) + call void @llvm.lifetime.end.p0i8(i64 2, i8* %1) ret i16 %3 ; CHECK-LABEL: atomic_max_i16 ; CHECK: lharx [[DST:[0-9]+]], @@ -65,5 +65,5 @@ define i16 @atomic_max_i16() { ; CHECK-NEXT: ble 0 } -declare void @llvm.lifetime.start(i64, i8*) -declare void @llvm.lifetime.end(i64, i8*) +declare void @llvm.lifetime.start.p0i8(i64, i8*) +declare void @llvm.lifetime.end.p0i8(i64, i8*) diff --git a/llvm/test/CodeGen/PowerPC/swaps-le-4.ll b/llvm/test/CodeGen/PowerPC/swaps-le-4.ll index 87c6dac9630..2bf684d9d61 100644 --- a/llvm/test/CodeGen/PowerPC/swaps-le-4.ll +++ b/llvm/test/CodeGen/PowerPC/swaps-le-4.ll @@ -8,11 +8,11 @@ define void @bar() { entry: %x = alloca <2 x i64>, align 16 %0 = bitcast <2 x i64>* %x to i8* - call void @llvm.lifetime.start(i64 16, i8* %0) + call void @llvm.lifetime.start.p0i8(i64 16, i8* %0) %arrayidx = getelementptr inbounds <2 x i64>, <2 x i64>* %x, i64 0, i64 0 store <2 x i64> <i64 0, i64 1>, <2 x i64>* %x, align 16 call void @foo(i64* %arrayidx) - call void @llvm.lifetime.end(i64 16, i8* %0) + call void @llvm.lifetime.end.p0i8(i64 16, i8* %0) ret void } @@ -21,7 +21,7 @@ entry: ; CHECK: stxvd2x ; CHECK-NOT: xxswapd -declare void @llvm.lifetime.start(i64, i8* nocapture) +declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) declare void @foo(i64*) -declare void @llvm.lifetime.end(i64, i8* nocapture) +declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) diff --git a/llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll b/llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll index 5d03af801fc..0b101457161 100644 --- a/llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll +++ b/llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll @@ -3,7 +3,7 @@ target datalayout = "E-m:e-i64:64-n32:64" target triple = "powerpc64-unknown-linux-gnu" ; Function Attrs: nounwind -declare void @llvm.lifetime.end(i64, i8* nocapture) #0 +declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #0 declare void @f1() declare void @f2() @@ -54,11 +54,11 @@ if.else: ; preds = %sw.default br label %dup2 dup1: ; preds = %sw.0, %sw.1 - call void @llvm.lifetime.end(i64 8, i8* nonnull undef) #0 + call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull undef) #0 unreachable dup2: ; preds = %if.then, %if.else - call void @llvm.lifetime.end(i64 8, i8* nonnull undef) #0 + call void @llvm.lifetime.end.p0i8(i64 8, i8* nonnull undef) #0 unreachable } diff --git a/llvm/test/CodeGen/PowerPC/toc-load-sched-bug.ll b/llvm/test/CodeGen/PowerPC/toc-load-sched-bug.ll index e83124cbb99..21ccbf6f1ea 100644 --- a/llvm/test/CodeGen/PowerPC/toc-load-sched-bug.ll +++ b/llvm/test/CodeGen/PowerPC/toc-load-sched-bug.ll @@ -223,7 +223,7 @@ if.then: ; preds = %_ZNK4llvm7ErrorOrIS %10 = getelementptr inbounds %"class.std::allocator", %"class.std::allocator"* %ref.tmp.i.i2.i, i64 0, i32 0 %11 = bitcast %"class.llvm::SMDiagnostic"* %ref.tmp to i8* call void @llvm.memset.p0i8.i64(i8* %11, i8 0, i64 16, i32 8, i1 false) #3 - call void @llvm.lifetime.start(i64 1, i8* %10) #3 + call void @llvm.lifetime.start.p0i8(i64 1, i8* %10) #3 %tobool.i.i4.i = icmp eq i8* %4, null br i1 %tobool.i.i4.i, label %if.then.i.i6.i, label %if.end.i.i8.i @@ -237,7 +237,7 @@ if.end.i.i8.i: ; preds = %if.then br label %_ZNK4llvm9StringRefcvSsEv.exit9.i _ZNK4llvm9StringRefcvSsEv.exit9.i: ; preds = %if.end.i.i8.i, %if.then.i.i6.i - call void @llvm.lifetime.end(i64 1, i8* %10) #3 + call void @llvm.lifetime.end.p0i8(i64 1, i8* %10) #3 %LineNo.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref.tmp, i64 0, i32 3 store i32 -1, i32* %LineNo.i, align 8, !tbaa !14 %ColumnNo.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref.tmp, i64 0, i32 4 @@ -246,7 +246,7 @@ _ZNK4llvm9StringRefcvSsEv.exit9.i: ; preds = %if.end.i.i8.i, %if. store i32 0, i32* %Kind.i, align 8, !tbaa !22 %Message.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref.tmp, i64 0, i32 6 %12 = getelementptr inbounds %"class.std::allocator", %"class.std::allocator"* %ref.tmp.i.i.i, i64 0, i32 0 - call void @llvm.lifetime.start(i64 1, i8* %12) #3 + call void @llvm.lifetime.start.p0i8(i64 1, i8* %12) #3 %tobool.i.i.i = icmp eq i8* %8, null br i1 %tobool.i.i.i, label %if.then.i.i.i, label %if.end.i.i.i @@ -260,7 +260,7 @@ if.end.i.i.i: ; preds = %_ZNK4llvm9StringRef br label %_ZN4llvm12SMDiagnosticC2ENS_9StringRefENS_9SourceMgr8DiagKindES1_.exit _ZN4llvm12SMDiagnosticC2ENS_9StringRefENS_9SourceMgr8DiagKindES1_.exit: ; preds = %if.then.i.i.i, %if.end.i.i.i - call void @llvm.lifetime.end(i64 1, i8* %12) #3 + call void @llvm.lifetime.end.p0i8(i64 1, i8* %12) #3 %_M_p.i.i.i.i.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref.tmp, i64 0, i32 7, i32 0, i32 0 store i8* bitcast (i64* getelementptr inbounds ([0 x i64], [0 x i64]* @_ZNSs4_Rep20_S_empty_rep_storageE, i64 0, i64 3) to i8*), i8** %_M_p.i.i.i.i.i, align 8, !tbaa !13 %Ranges.i = getelementptr inbounds %"class.llvm::SMDiagnostic", %"class.llvm::SMDiagnostic"* %ref.tmp, i64 0, i32 8 @@ -320,7 +320,7 @@ _ZN4llvm12SMDiagnosticaSEOS0_.exit: ; preds = %_ZN4llvm12SMDiagnos %call2.i.i42 = call dereferenceable(48) %"class.llvm::SmallVectorImpl.85"* @_ZN4llvm15SmallVectorImplINS_7SMFixItEEaSEOS2_(%"class.llvm::SmallVectorImpl.85"* %24, %"class.llvm::SmallVectorImpl.85"* dereferenceable(48) %25) #3 call void @_ZN4llvm12SMDiagnosticD2Ev(%"class.llvm::SMDiagnostic"* %ref.tmp) #3 %26 = getelementptr inbounds %"class.std::allocator", %"class.std::allocator"* %ref.tmp.i.i, i64 0, i32 0 - call void @llvm.lifetime.start(i64 1, i8* %26) #3 + call void @llvm.lifetime.start.p0i8(i64 1, i8* %26) #3 %27 = bitcast i8* %arrayidx.i.i.i36 to %"struct.std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep"* %cmp.i.i.i = icmp eq i8* %arrayidx.i.i.i36, bitcast ([0 x i64]* @_ZNSs4_Rep20_S_empty_rep_storageE to i8*) br i1 %cmp.i.i.i, label %_ZNSsD1Ev.exit, label %if.then.i.i.i45, !prof !28 @@ -332,11 +332,11 @@ if.then.i.i.i45: ; preds = %_ZN4llvm12SMDiagnos if.then.i.i.i.i: ; preds = %if.then.i.i.i45 %.atomicdst.i.i.i.i.i.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..sroa_cast = bitcast i32* %.atomicdst.i.i.i.i.i to i8* - call void @llvm.lifetime.start(i64 4, i8* %.atomicdst.i.i.i.i.i.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..sroa_cast) + call void @llvm.lifetime.start.p0i8(i64 4, i8* %.atomicdst.i.i.i.i.i.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..sroa_cast) %29 = atomicrmw volatile add i32* %28, i32 -1 acq_rel store i32 %29, i32* %.atomicdst.i.i.i.i.i, align 4 %.atomicdst.i.i.i.i.i.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..atomicdst.0..atomicdst.0..i.i.i.i.i = load volatile i32, i32* %.atomicdst.i.i.i.i.i, align 4 - call void @llvm.lifetime.end(i64 4, i8* %.atomicdst.i.i.i.i.i.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..sroa_cast) + call void @llvm.lifetime.end.p0i8(i64 4, i8* %.atomicdst.i.i.i.i.i.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..sroa_cast) br label %_ZN9__gnu_cxxL27__exchange_and_add_dispatchEPii.exit.i.i.i if.else.i.i.i.i: ; preds = %if.then.i.i.i45 @@ -355,9 +355,9 @@ if.then4.i.i.i: ; preds = %_ZN9__gnu_cxxL27__e br label %_ZNSsD1Ev.exit _ZNSsD1Ev.exit: ; preds = %_ZN4llvm12SMDiagnosticaSEOS0_.exit, %_ZN9__gnu_cxxL27__exchange_and_add_dispatchEPii.exit.i.i.i, %if.then4.i.i.i - call void @llvm.lifetime.end(i64 1, i8* %26) #3 + call void @llvm.lifetime.end.p0i8(i64 1, i8* %26) #3 %31 = getelementptr inbounds %"class.std::allocator", %"class.std::allocator"* %ref.tmp.i.i47, i64 0, i32 0 - call void @llvm.lifetime.start(i64 1, i8* %31) #3 + call void @llvm.lifetime.start.p0i8(i64 1, i8* %31) #3 %_M_p.i.i.i.i48 = getelementptr inbounds %"class.std::basic_string", %"class.std::basic_string"* %ref.tmp5, i64 0, i32 0, i32 0 %32 = load i8*, i8** %_M_p.i.i.i.i48, align 8, !tbaa !1 %arrayidx.i.i.i49 = getelementptr inbounds i8, i8* %32, i64 -24 @@ -372,11 +372,11 @@ if.then.i.i.i52: ; preds = %_ZNSsD1Ev.exit if.then.i.i.i.i55: ; preds = %if.then.i.i.i52 %.atomicdst.i.i.i.i.i46.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..sroa_cast = bitcast i32* %.atomicdst.i.i.i.i.i46 to i8* - call void @llvm.lifetime.start(i64 4, i8* %.atomicdst.i.i.i.i.i46.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..sroa_cast) + call void @llvm.lifetime.start.p0i8(i64 4, i8* %.atomicdst.i.i.i.i.i46.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..sroa_cast) %35 = atomicrmw volatile add i32* %34, i32 -1 acq_rel store i32 %35, i32* %.atomicdst.i.i.i.i.i46, align 4 %.atomicdst.i.i.i.i.i46.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..atomicdst.0..atomicdst.0..i.i.i.i.i54 = load volatile i32, i32* %.atomicdst.i.i.i.i.i46, align 4 - call void @llvm.lifetime.end(i64 4, i8* %.atomicdst.i.i.i.i.i46.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..sroa_cast) + call void @llvm.lifetime.end.p0i8(i64 4, i8* %.atomicdst.i.i.i.i.i46.0..atomicdst.i.i.i.i.0..atomicdst.i.i.i.0..atomicdst.i.i.0..atomicdst.i.0..sroa_cast) br label %_ZN9__gnu_cxxL27__exchange_and_add_dispatchEPii.exit.i.i.i60 if.else.i.i.i.i57: ; preds = %if.then.i.i.i52 @@ -395,7 +395,7 @@ if.then4.i.i.i61: ; preds = %_ZN9__gnu_cxxL27__e br label %_ZNSsD1Ev.exit62 _ZNSsD1Ev.exit62: ; preds = %_ZNSsD1Ev.exit, %_ZN9__gnu_cxxL27__exchange_and_add_dispatchEPii.exit.i.i.i60, %if.then4.i.i.i61 - call void @llvm.lifetime.end(i64 1, i8* %31) #3 + call void @llvm.lifetime.end.p0i8(i64 1, i8* %31) #3 br label %cleanup cond.false.i.i: ; preds = %_ZNK4llvm7ErrorOrISt10unique_ptrINS_12MemoryBufferESt14default_deleteIS2_EEE8getErrorEv.exit @@ -438,10 +438,10 @@ _ZN4llvm7ErrorOrISt10unique_ptrINS_12MemoryBufferESt14default_deleteIS2_EEED2Ev. } ; Function Attrs: nounwind -declare void @llvm.lifetime.start(i64, i8* nocapture) #3 +declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture) #3 ; Function Attrs: nounwind -declare void @llvm.lifetime.end(i64, i8* nocapture) #3 +declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture) #3 ; Function Attrs: noreturn nounwind declare void @__assert_fail(i8*, i8*, i32 zeroext, i8*) #4 |

