[Git][reproducible-builds/diffoscope][master] Update llvm diff for llvm 10.

Mattia Rizzolo gitlab at salsa.debian.org
Mon Apr 27 20:28:15 UTC 2020



Mattia Rizzolo pushed to branch master at Reproducible Builds / diffoscope


Commits:
c645b977 by Jelle van der Waa at 2020-04-27T21:48:51+02:00
Update llvm diff for llvm 10.

Signed-off-by: Jelle van der Waa <jelle at archlinux.org>

- - - - -


2 changed files:

- tests/comparators/test_rlib.py
- + tests/data/rlib_llvm_dis_expected_diff_10


Changes:

=====================================
tests/comparators/test_rlib.py
=====================================
@@ -74,6 +74,9 @@ def rlib_dis_expected_diff():
     if LooseVersion(str(actual_ver)) >= LooseVersion("7.0"):
         diff_file = 'rlib_llvm_dis_expected_diff_7'
 
+    if LooseVersion(str(actual_ver)) >= LooseVersion("10.0"):
+        diff_file = 'rlib_llvm_dis_expected_diff_10'
+
     return get_data(diff_file)
 
 


=====================================
tests/data/rlib_llvm_dis_expected_diff_10
=====================================
@@ -0,0 +1,36 @@
+@@ -42,32 +42,32 @@
+ entry-block:
+   %out.i.i = alloca i8*, align 8
+   %4 = icmp ult i64 %3, 17
+   br i1 %4, label %then-block-195-.i, label %_ZN12alloc_system3imp8allocate17h8ba7625cc4a820e8E.exit.i
+ 
+ then-block-195-.i:                                ; preds = %entry-block
+   %5 = tail call i8* @realloc(i8* %0, i64 %2) #2
+-  br label %_ZN12alloc_system3imp10reallocate17h4a0811c9ec086854E.exit
++  br label %_ZN12alloc_system3imp10reallocate1l44a0811c9ec086854E.exit
+ 
+ _ZN12alloc_system3imp8allocate17h8ba7625cc4a820e8E.exit.i: ; preds = %entry-block
+   %6 = bitcast i8** %out.i.i to i8*
+   call void @llvm.lifetime.start.p0i8(i64 8, i8* %6) #2
+   store i8* null, i8** %out.i.i, align 8
+   %7 = call i32 @posix_memalign(i8** nonnull %out.i.i, i64 %3, i64 %2) #2
+   %8 = icmp eq i32 %7, 0
+   %9 = load i8*, i8** %out.i.i, align 8
+   %sret_slot.0.i.i = select i1 %8, i8* %9, i8* null
+   call void @llvm.lifetime.end.p0i8(i64 8, i8* %6) #2
+   %10 = icmp ule i64 %2, %1
+   %11 = select i1 %10, i64 %2, i64 %1
+   call void @llvm.memmove.p0i8.p0i8.i64(i8* align 1 %sret_slot.0.i.i, i8* align 1 %0, i64 %11, i1 false)
+   call void @free(i8* %0) #2
+-  br label %_ZN12alloc_system3imp10reallocate17h4a0811c9ec086854E.exit
++  br label %_ZN12alloc_system3imp10reallocate1l44a0811c9ec086854E.exit
+ 
+-_ZN12alloc_system3imp10reallocate17h4a0811c9ec086854E.exit: ; preds = %_ZN12alloc_system3imp8allocate17h8ba7625cc4a820e8E.exit.i, %then-block-195-.i
++_ZN12alloc_system3imp10reallocate1l44a0811c9ec086854E.exit: ; preds = %_ZN12alloc_system3imp8allocate17h8ba7625cc4a820e8E.exit.i, %then-block-195-.i
+   %sret_slot.0.i = phi i8* [ %5, %then-block-195-.i ], [ %sret_slot.0.i.i, %_ZN12alloc_system3imp8allocate17h8ba7625cc4a820e8E.exit.i ]
+   ret i8* %sret_slot.0.i
+ }
+ 
+ ; Function Attrs: nounwind readnone uwtable
+ define i64 @__rust_reallocate_inplace(i8* nocapture readnone %0, i64 %1, i64 %2, i64 %3) unnamed_addr #1 {
+ entry-block:



View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/c645b977740b8c42a4b1ee8fe3f6856cac7cee1e

-- 
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/-/commit/c645b977740b8c42a4b1ee8fe3f6856cac7cee1e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20200427/f9a4da25/attachment.htm>


More information about the rb-commits mailing list