Skip to content

Commit 7af4f43

Browse files
llvm: Update baseline to c8ca98a2a9796797f2eab00cc6516610c133633a
1 parent 6f261eb commit 7af4f43

File tree

16 files changed

+2057
-1895
lines changed

16 files changed

+2057
-1895
lines changed

bench/arrow/optimized/double-to-string.cc.ll

Lines changed: 249 additions & 254 deletions
Large diffs are not rendered by default.

bench/arrow/optimized/strtod.cc.ll

Lines changed: 111 additions & 44 deletions
Large diffs are not rendered by default.

bench/assimp/optimized/glTF2Exporter.cpp.ll

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39737,9 +39737,7 @@ _ZN9rapidjson19GenericStringBufferINS_4UTF8IcEENS_12CrtAllocatorEE4PushEm.exit:
3973739737
%8 = load i32, ptr %maxDecimalPlaces_, align 8
3973839738
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %length.i)
3973939739
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %K.i)
39740-
%9 = tail call double @llvm.fabs.f64(double %d)
39741-
%and.i.i = bitcast double %9 to i64
39742-
%cmp.i.i3 = icmp eq i64 %and.i.i, 0
39740+
%cmp.i.i3 = fcmp oeq double %d, 0.000000e+00
3974339741
br i1 %cmp.i.i3, label %if.then.i, label %if.else.i
3974439742

3974539743
if.then.i: ; preds = %_ZN9rapidjson19GenericStringBufferINS_4UTF8IcEENS_12CrtAllocatorEE4PushEm.exit
@@ -39775,23 +39773,23 @@ if.end8.i: ; preds = %if.then6.i, %if.els
3977539773
%value.addr.0.i = phi double [ %fneg.i, %if.then6.i ], [ %d, %if.else.i ]
3977639774
%buffer.addr.1.i = phi ptr [ %incdec.ptr7.i, %if.then6.i ], [ %7, %if.else.i ]
3977739775
call void @_ZN9rapidjson8internal6Grisu2EdPcPiS2_(double noundef %value.addr.0.i, ptr noundef %buffer.addr.1.i, ptr noundef nonnull %length.i, ptr noundef nonnull %K.i)
39778-
%10 = load i32, ptr %length.i, align 4
39779-
%11 = load i32, ptr %K.i, align 4
39780-
%call9.i = call noundef ptr @_ZN9rapidjson8internal8PrettifyEPciii(ptr noundef %buffer.addr.1.i, i32 noundef %10, i32 noundef %11, i32 noundef %8)
39776+
%9 = load i32, ptr %length.i, align 4
39777+
%10 = load i32, ptr %K.i, align 4
39778+
%call9.i = call noundef ptr @_ZN9rapidjson8internal8PrettifyEPciii(ptr noundef %buffer.addr.1.i, i32 noundef %9, i32 noundef %10, i32 noundef %8)
3978139779
br label %_ZN9rapidjson8internal4dtoaEdPci.exit
3978239780

3978339781
_ZN9rapidjson8internal4dtoaEdPci.exit: ; preds = %if.end.i, %if.end8.i
3978439782
%retval.0.i = phi ptr [ %arrayidx5.i, %if.end.i ], [ %call9.i, %if.end8.i ]
3978539783
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %length.i)
3978639784
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %K.i)
39787-
%12 = load ptr, ptr %this, align 8
39785+
%11 = load ptr, ptr %this, align 8
3978839786
%sub.ptr.lhs.cast = ptrtoint ptr %retval.0.i to i64
3978939787
%sub.ptr.rhs.cast = ptrtoint ptr %7 to i64
3979039788
%sub.ptr.sub.neg.neg = sub i64 %sub.ptr.lhs.cast, %sub.ptr.rhs.cast
39791-
%stackTop_.i.i5 = getelementptr inbounds i8, ptr %12, i64 24
39792-
%13 = load ptr, ptr %stackTop_.i.i5, align 8
39793-
%14 = getelementptr i8, ptr %13, i64 %sub.ptr.sub.neg.neg
39794-
%add.ptr.i.i6 = getelementptr i8, ptr %14, i64 -25
39789+
%stackTop_.i.i5 = getelementptr inbounds i8, ptr %11, i64 24
39790+
%12 = load ptr, ptr %stackTop_.i.i5, align 8
39791+
%13 = getelementptr i8, ptr %12, i64 %sub.ptr.sub.neg.neg
39792+
%add.ptr.i.i6 = getelementptr i8, ptr %13, i64 -25
3979539793
store ptr %add.ptr.i.i6, ptr %stackTop_.i.i5, align 8
3979639794
br label %return
3979739795

bench/assimp/optimized/glTFExporter.cpp.ll

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13949,9 +13949,7 @@ _ZN9rapidjson19GenericStringBufferINS_4UTF8IcEENS_12CrtAllocatorEE4PushEm.exit:
1394913949
%8 = load i32, ptr %maxDecimalPlaces_, align 8
1395013950
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %length.i)
1395113951
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %K.i)
13952-
%9 = tail call double @llvm.fabs.f64(double %d)
13953-
%and.i.i = bitcast double %9 to i64
13954-
%cmp.i.i3 = icmp eq i64 %and.i.i, 0
13952+
%cmp.i.i3 = fcmp oeq double %d, 0.000000e+00
1395513953
br i1 %cmp.i.i3, label %if.then.i, label %if.else.i
1395613954

1395713955
if.then.i: ; preds = %_ZN9rapidjson19GenericStringBufferINS_4UTF8IcEENS_12CrtAllocatorEE4PushEm.exit
@@ -13987,23 +13985,23 @@ if.end8.i: ; preds = %if.then6.i, %if.els
1398713985
%value.addr.0.i = phi double [ %fneg.i, %if.then6.i ], [ %d, %if.else.i ]
1398813986
%buffer.addr.1.i = phi ptr [ %incdec.ptr7.i, %if.then6.i ], [ %7, %if.else.i ]
1398913987
call void @_ZN9rapidjson8internal6Grisu2EdPcPiS2_(double noundef %value.addr.0.i, ptr noundef %buffer.addr.1.i, ptr noundef nonnull %length.i, ptr noundef nonnull %K.i)
13990-
%10 = load i32, ptr %length.i, align 4
13991-
%11 = load i32, ptr %K.i, align 4
13992-
%call9.i = call noundef ptr @_ZN9rapidjson8internal8PrettifyEPciii(ptr noundef %buffer.addr.1.i, i32 noundef %10, i32 noundef %11, i32 noundef %8)
13988+
%9 = load i32, ptr %length.i, align 4
13989+
%10 = load i32, ptr %K.i, align 4
13990+
%call9.i = call noundef ptr @_ZN9rapidjson8internal8PrettifyEPciii(ptr noundef %buffer.addr.1.i, i32 noundef %9, i32 noundef %10, i32 noundef %8)
1399313991
br label %_ZN9rapidjson8internal4dtoaEdPci.exit
1399413992

1399513993
_ZN9rapidjson8internal4dtoaEdPci.exit: ; preds = %if.end.i, %if.end8.i
1399613994
%retval.0.i = phi ptr [ %arrayidx5.i, %if.end.i ], [ %call9.i, %if.end8.i ]
1399713995
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %length.i)
1399813996
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %K.i)
13999-
%12 = load ptr, ptr %this, align 8
13997+
%11 = load ptr, ptr %this, align 8
1400013998
%sub.ptr.lhs.cast = ptrtoint ptr %retval.0.i to i64
1400113999
%sub.ptr.rhs.cast = ptrtoint ptr %7 to i64
1400214000
%sub.ptr.sub.neg.neg = sub i64 %sub.ptr.lhs.cast, %sub.ptr.rhs.cast
14003-
%stackTop_.i.i5 = getelementptr inbounds i8, ptr %12, i64 24
14004-
%13 = load ptr, ptr %stackTop_.i.i5, align 8
14005-
%14 = getelementptr i8, ptr %13, i64 %sub.ptr.sub.neg.neg
14006-
%add.ptr.i.i6 = getelementptr i8, ptr %14, i64 -25
14001+
%stackTop_.i.i5 = getelementptr inbounds i8, ptr %11, i64 24
14002+
%12 = load ptr, ptr %stackTop_.i.i5, align 8
14003+
%13 = getelementptr i8, ptr %12, i64 %sub.ptr.sub.neg.neg
14004+
%add.ptr.i.i6 = getelementptr i8, ptr %13, i64 -25
1400714005
store ptr %add.ptr.i.i6, ptr %stackTop_.i.i5, align 8
1400814006
br label %return
1400914007

@@ -72169,9 +72167,6 @@ declare i64 @llvm.abs.i64(i64, i1 immarg) #22
7216972167
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
7217072168
declare i32 @llvm.smax.i32(i32, i32) #22
7217172169

72172-
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
72173-
declare double @llvm.fabs.f64(double) #22
72174-
7217572170
attributes #0 = { nobuiltin nounwind "frame-pointer"="all" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
7217672171
attributes #1 = { mustprogress nounwind uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
7217772172
attributes #2 = { mustprogress uwtable "frame-pointer"="all" "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

0 commit comments

Comments
 (0)