Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-commit: Test PR68882 #17

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

pre-commit: Test PR68882 #17

wants to merge 2 commits into from

Conversation

dtcxzyw
Copy link
Owner

@dtcxzyw dtcxzyw commented Dec 21, 2023

@dtcxzyw
Copy link
Owner Author

dtcxzyw commented Dec 21, 2023

9615 files changed, 9223701 insertions(+), 9633887 deletions(-)

@dtcxzyw
Copy link
Owner Author

dtcxzyw commented Dec 21, 2023

> git diff --numstat HEAD^ HEAD | awk '$1 > $2 && $1 <50'
3       2       bench/abseil-cpp/optimized/spinlock_wait.cc.ll
14      13      bench/box2d/optimized/b2_block_allocator.cpp.ll
31      27      bench/brotli/optimized/compound_dictionary.c.ll
23      21      bench/brotli/optimized/entropy_encode.c.ll
44      37      bench/cpython/optimized/buffer.ll
16      15      bench/cpython/optimized/getpath.ll
13      11      bench/cpython/optimized/numbertheory.ll
42      39      bench/cpython/optimized/termios.ll
48      36      bench/cpython/optimized/unicodectype.ll
18      16      bench/hermes/optimized/Sorting.cpp.ll
42      40      bench/icu/optimized/emojiprops.ll
19      17      bench/icu/optimized/gencnval.ll
6       5       bench/icu/optimized/locbund.ll
11      10      bench/jemalloc/optimized/bin_info.ll
11      10      bench/jemalloc/optimized/bin_info.pic.ll
11      10      bench/jemalloc/optimized/bin_info.sym.ll
33      32      bench/libevent/optimized/sha1.c.ll
32      31      bench/memcached/optimized/crc32c.ll
32      31      bench/memcached/optimized/memcached-crc32c.ll
32      31      bench/memcached/optimized/memcached_debug-crc32c.ll
40      39      bench/meshoptimizer/optimized/overdrawanalyzer.cpp.ll
38      34      bench/ocio/optimized/IndexMapping.cpp.ll
48      47      bench/openexr/optimized/ImfDeepCompositing.cpp.ll
39      38      bench/openexr/optimized/internal_piz.c.ll
4       3       bench/openssl/optimized/cmactest-bin-cmactest.ll
34      28      bench/openssl/optimized/endecoder_legacy_test-bin-endecoder_legacy_test.ll
11      10      bench/openssl/optimized/hexstr_test-bin-hexstr_test.ll
46      44      bench/openssl/optimized/hpke_test-bin-hpke_test.ll
44      29      bench/openssl/optimized/libcrypto-lib-err_mark.ll
49      42      bench/openssl/optimized/libcrypto-lib-ex_data.ll
40      30      bench/openssl/optimized/libcrypto-lib-wp_dgst.ll
44      29      bench/openssl/optimized/libcrypto-shlib-err_mark.ll
49      42      bench/openssl/optimized/libcrypto-shlib-ex_data.ll
40      30      bench/openssl/optimized/libcrypto-shlib-wp_dgst.ll
30      29      bench/openssl/optimized/libdefault-lib-cipher_chacha20_hw.ll
44      37      bench/openssl/optimized/libdefault-lib-decode_pem2der.ll
38      34      bench/openssl/optimized/libssl-lib-quic_trace.ll
38      34      bench/openssl/optimized/libssl-shlib-quic_trace.ll
2       1       bench/openssl/optimized/openssl-bin-genpkey.ll
28      27      bench/openssl/optimized/openssl-bin-storeutl.ll
29      27      bench/openssl/optimized/property_test-bin-property_test.ll
31      26      bench/pcg-cpp/optimized/make-partytrick.cpp.ll
37      35      bench/pcg-cpp/optimized/use-partytrick.cpp.ll
43      39      bench/qemu/optimized/fsdev_qemu-fsdev-throttle.c.ll
10      9       bench/qemu/optimized/hw_block_hd-geometry.c.ll
41      38      bench/qemu/optimized/hw_nvram_eeprom93xx.c.ll
22      21      bench/qemu/optimized/ui_keymaps.c.ll
35      31      bench/qemu/optimized/ui_vnc-palette.c.ll
11      10      bench/redis/optimized/bin_info.ll
11      10      bench/redis/optimized/bin_info.sym.ll
39      37      bench/redis/optimized/sc.ll
39      37      bench/redis/optimized/sc.sym.ll
5       4       bench/stb/optimized/stb_easy_font.c.ll

@dtcxzyw
Copy link
Owner Author

dtcxzyw commented Dec 21, 2023

diff --git a/bench/brotli/optimized/compound_dictionary.c.ll b/bench/brotli/optimized/compound_dictionary.c.ll
index 21fd37fd..b9894810 100644
--- a/bench/brotli/optimized/compound_dictionary.c.ll
+++ b/bench/brotli/optimized/compound_dictionary.c.ll
@@ -3,9 +3,6 @@ source_filename = "bench/brotli/original/compound_dictionary.c.ll"
 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
 target triple = "x86_64-unknown-linux-gnu"
 
-%struct.PreparedDictionary = type { i32, i32, i32, i32, i32, i32 }
-%struct.CompoundDictionary = type { i64, i64, [16 x ptr], [16 x ptr], [16 x i64], i64, [16 x ptr] }
-
 ; Function Attrs: nounwind uwtable
 define hidden ptr @CreatePreparedDictionary(ptr noundef %m, ptr noundef %source, i64 noundef %source_size) local_unnamed_addr #0 {
 entry:
@@ -168,25 +165,29 @@ cond.true119.i:                                   ; preds = %for.end106.i
 
 cond.end123.i:                                    ; preds = %cond.true119.i, %for.end106.i
   %cond124.i = phi ptr [ %call121.i, %cond.true119.i ], [ null, %for.end106.i ]
-  %arrayidx125.i = getelementptr inbounds %struct.PreparedDictionary, ptr %cond124.i, i64 1
+  %arrayidx125.i = getelementptr inbounds i8, ptr %cond124.i, i64 24
   %arrayidx127.i = getelementptr inbounds i32, ptr %arrayidx125.i, i64 %idxprom.i
   %arrayidx129.i = getelementptr inbounds i16, ptr %arrayidx127.i, i64 %idxprom26.i
   %arrayidx131.i = getelementptr inbounds i32, ptr %arrayidx129.i, i64 %conv113.i
   store i32 -558043677, ptr %cond124.i, align 4
-  %num_items.i = getelementptr inbounds %struct.PreparedDictionary, ptr %cond124.i, i64 0, i32 1
+  %num_items.i = getelementptr inbounds i8, ptr %cond124.i, i64 4
   store i32 %add100.i, ptr %num_items.i, align 4
   %conv132.i = trunc i64 %source_size to i32
-  %source_size133.i = getelementptr inbounds %struct.PreparedDictionary, ptr %cond124.i, i64 0, i32 2
+  %source_size133.i = getelementptr inbounds i8, ptr %cond124.i, i64 8
   store i32 %conv132.i, ptr %source_size133.i, align 4
-  %hash_bits134.i = getelementptr inbounds %struct.PreparedDictionary, ptr %cond124.i, i64 0, i32 3
+  %hash_bits134.i = getelementptr inbounds i8, ptr %cond124.i, i64 12
   store i32 40, ptr %hash_bits134.i, align 4
-  %bucket_bits135.i = getelementptr inbounds %struct.PreparedDictionary, ptr %cond124.i, i64 0, i32 4
+  %bucket_bits135.i = getelementptr inbounds i8, ptr %cond124.i, i64 16
   store i32 %bucket_bits.0.lcssa, ptr %bucket_bits135.i, align 4
-  %slot_bits136.i = getelementptr inbounds %struct.PreparedDictionary, ptr %cond124.i, i64 0, i32 5
+  %slot_bits136.i = getelementptr inbounds i8, ptr %cond124.i, i64 20
   store i32 %slot_bits.0.lcssa, ptr %slot_bits136.i, align 4
   store ptr %source, ptr %arrayidx131.i, align 1
   br label %for.body140.i
 
+for.cond151.preheader.i:                          ; preds = %for.body140.i
+  %invariant.gep.i = getelementptr i8, ptr %arrayidx129.i, i64 -4
+  br label %for.body154.i
+
 for.body140.i:                                    ; preds = %for.body140.i, %cond.end123.i
   %indvars.iv145.i = phi i64 [ 0, %cond.end123.i ], [ %indvars.iv.next146.i, %for.body140.i ]
   %total_items.1139.i = phi i32 [ 0, %cond.end123.i ], [ %add145.i, %for.body140.i ]
@@ -198,10 +199,10 @@ for.body140.i:                                    ; preds = %for.body140.i, %con
   store i32 0, ptr %arrayidx144.i, align 4
   %indvars.iv.next146.i = add nuw nsw i64 %indvars.iv145.i, 1
   %exitcond150.not.i = icmp eq i64 %indvars.iv.next146.i, %idxprom.i
-  br i1 %exitcond150.not.i, label %for.body154.i, label %for.body140.i, !llvm.loop !9
+  br i1 %exitcond150.not.i, label %for.cond151.preheader.i, label %for.body140.i, !llvm.loop !9
 
-for.body154.i:                                    ; preds = %for.body140.i, %for.inc204.i
-  %indvars.iv152.i = phi i64 [ %indvars.iv.next153.i, %for.inc204.i ], [ 0, %for.body140.i ]
+for.body154.i:                                    ; preds = %for.inc204.i, %for.cond151.preheader.i
+  %indvars.iv152.i = phi i64 [ 0, %for.cond151.preheader.i ], [ %indvars.iv.next153.i, %for.inc204.i ]
   %5 = trunc i64 %indvars.iv152.i to i32
   %and155.i = and i32 %sub3.i, %5
   %arrayidx158.i = getelementptr inbounds i16, ptr %arrayidx25.i, i64 %indvars.iv152.i
@@ -243,7 +244,7 @@ for.body194.i:                                    ; preds = %for.body194.i, %if.
   %pos.0.in140.i = phi ptr [ %arrayidx189.i, %if.end177.i ], [ %arrayidx198.i, %for.body194.i ]
   %pos.0.i = load i32, ptr %pos.0.in140.i, align 4
   %inc195.i = add nuw nsw i64 %cursor.0142.i, 1
-  %arrayidx196.i = getelementptr i32, ptr %arrayidx129.i, i64 %cursor.0142.i
+  %arrayidx196.i = getelementptr inbounds i32, ptr %arrayidx129.i, i64 %cursor.0142.i
   store i32 %pos.0.i, ptr %arrayidx196.i, align 4
   %idxprom197.i = zext i32 %pos.0.i to i64
   %arrayidx198.i = getelementptr inbounds i32, ptr %arrayidx29.i, i64 %idxprom197.i
@@ -252,9 +253,9 @@ for.body194.i:                                    ; preds = %for.body194.i, %if.
   br i1 %exitcond151.not.i, label %for.end201.i, label %for.body194.i, !llvm.loop !10
 
 for.end201.i:                                     ; preds = %for.body194.i
-  %arrayidx196.i.le = getelementptr i32, ptr %arrayidx129.i, i64 %cursor.0142.i
+  %gep.i = getelementptr i32, ptr %invariant.gep.i, i64 %inc195.i
   %or.i = or i32 %pos.0.i, -2147483648
-  store i32 %or.i, ptr %arrayidx196.i.le, align 4
+  store i32 %or.i, ptr %gep.i, align 4
   br label %for.inc204.i
 
 for.inc204.i:                                     ; preds = %for.end201.i, %if.then174.i

@dtcxzyw
Copy link
Owner Author

dtcxzyw commented Dec 21, 2023

diff --git a/bench/hermes/optimized/Sorting.cpp.ll b/bench/hermes/optimized/Sorting.cpp.ll
index 1a808c47..e03089ca 100644
--- a/bench/hermes/optimized/Sorting.cpp.ll
+++ b/bench/hermes/optimized/Sorting.cpp.ll
@@ -41,20 +41,22 @@ if.end:                                           ; preds = %entry
   %call5.i.i.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %mul.i.i.i.i.i.i) #9
   store ptr %call5.i.i.i.i.i.i, ptr %index, align 8
   %add.ptr.i.i.i = getelementptr inbounds i32, ptr %call5.i.i.i.i.i.i, i64 %conv
-  %_M_end_of_storage.i.i.i = getelementptr inbounds %"struct.std::_Vector_base<unsigned int, std::allocator<unsigned int>>::_Vector_impl_data", ptr %index, i64 0, i32 2
+  %_M_end_of_storage.i.i.i = getelementptr inbounds i8, ptr %index, i64 16
   store ptr %add.ptr.i.i.i, ptr %_M_end_of_storage.i.i.i, align 8
   store i32 0, ptr %call5.i.i.i.i.i.i, align 4
-  %incdec.ptr.i.i.i.i.i = getelementptr i32, ptr %call5.i.i.i.i.i.i, i64 1
-  %cmp.i.i.i.i.i.i.i = icmp eq i32 %sub, 1
+  %incdec.ptr.i.i.i.i.i = getelementptr i8, ptr %call5.i.i.i.i.i.i, i64 4
+  %sub.i.i.i.i.i = add nsw i64 %conv, -1
+  %cmp.i.i.i.i.i.i.i = icmp eq i64 %sub.i.i.i.i.i, 0
   br i1 %cmp.i.i.i.i.i.i.i, label %_ZNSt6vectorIjSaIjEEC2EmRKS0_.exit, label %if.end.i.i.i.i.i.i.i
 
 if.end.i.i.i.i.i.i.i:                             ; preds = %if.end
   %1 = add nsw i64 %mul.i.i.i.i.i.i, -4
   tail call void @llvm.memset.p0.i64(ptr align 4 %incdec.ptr.i.i.i.i.i, i8 0, i64 %1, i1 false)
+  %add.ptr.i.i.i.i.i.i.i = getelementptr inbounds i32, ptr %incdec.ptr.i.i.i.i.i, i64 %sub.i.i.i.i.i
   br label %_ZNSt6vectorIjSaIjEEC2EmRKS0_.exit
 
 _ZNSt6vectorIjSaIjEEC2EmRKS0_.exit:               ; preds = %if.end, %if.end.i.i.i.i.i.i.i
-  %__first.addr.0.i.i.i.i.i = phi ptr [ %incdec.ptr.i.i.i.i.i, %if.end ], [ %add.ptr.i.i.i, %if.end.i.i.i.i.i.i.i ]
+  %__first.addr.0.i.i.i.i.i = phi ptr [ %incdec.ptr.i.i.i.i.i, %if.end ], [ %add.ptr.i.i.i.i.i.i.i, %if.end.i.i.i.i.i.i.i ]
   store ptr %__first.addr.0.i.i.i.i.i, ptr %0, align 8
   %cmp116.not = icmp eq i32 %end, %begin
   br i1 %cmp116.not, label %for.end, label %for.body

@dtcxzyw
Copy link
Owner Author

dtcxzyw commented Dec 21, 2023

diff --git a/bench/openexr/optimized/ImfDeepCompositing.cpp.ll b/bench/openexr/optimized/ImfDeepCompositing.cpp.ll
index 76d1711d..20032d80 100644
--- a/bench/openexr/optimized/ImfDeepCompositing.cpp.ll
+++ b/bench/openexr/optimized/ImfDeepCompositing.cpp.ll
@@ -113,7 +113,7 @@ _ZNSt6vectorIiSaIiEED2Ev.exit:                    ; preds = %lpad, %if.then.i.i.
 for.end12:                                        ; preds = %for.body8, %_ZNSt6vectorIiSaIiEE6resizeEm.exit
   %6 = load ptr, ptr %sort_order, align 8
   %vtable = load ptr, ptr %this, align 8
-  %vfn = getelementptr inbounds ptr, ptr %vtable, i64 3
+  %vfn = getelementptr inbounds i8, ptr %vtable, i64 24
   %7 = load ptr, ptr %vfn, align 8
   invoke void %7(ptr noundef nonnull align 8 dereferenceable(8) %this, ptr noundef nonnull %6, ptr noundef %inputs, ptr noundef %channel_names, i32 noundef %num_channels, i32 noundef %num_samples, i32 noundef %sources)
           to label %for.end12.if.end15_crit_edge unwind label %lpad
@@ -128,7 +128,7 @@ if.end15:                                         ; preds = %for.end12.if.end15_
   br i1 %cmp1835, label %for.body19.lr.ph, label %cleanup
 
 for.body19.lr.ph:                                 ; preds = %if.end15
-  %arrayidx23 = getelementptr inbounds float, ptr %outputs, i64 2
+  %arrayidx23 = getelementptr inbounds i8, ptr %outputs, i64 8
   br i1 %cmp29, label %for.body19.lr.ph.split.us, label %cleanup
 
 for.body19.lr.ph.split.us:                        ; preds = %for.body19.lr.ph
@@ -241,14 +241,14 @@ entry:
   br i1 %cmp.not, label %if.end44, label %if.then
 
 if.then:                                          ; preds = %entry
-  %_M_finish.i = getelementptr inbounds %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data", ptr %this, i64 0, i32 1
+  %_M_finish.i = getelementptr inbounds i8, ptr %this, i64 8
   %0 = load ptr, ptr %_M_finish.i, align 8
   %1 = load ptr, ptr %this, align 8
   %sub.ptr.lhs.cast.i = ptrtoint ptr %0 to i64
   %sub.ptr.rhs.cast.i = ptrtoint ptr %1 to i64
   %sub.ptr.sub.i = sub i64 %sub.ptr.lhs.cast.i, %sub.ptr.rhs.cast.i
   %sub.ptr.div.i = ashr exact i64 %sub.ptr.sub.i, 2
-  %_M_end_of_storage = getelementptr inbounds %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data", ptr %this, i64 0, i32 2
+  %_M_end_of_storage = getelementptr inbounds i8, ptr %this, i64 16
   %2 = load ptr, ptr %_M_end_of_storage, align 8
   %sub.ptr.lhs.cast = ptrtoint ptr %2 to i64
   %sub.ptr.sub = sub i64 %sub.ptr.lhs.cast, %sub.ptr.lhs.cast.i
@@ -263,15 +263,16 @@ if.then:                                          ; preds = %entry
 
 if.then.i.i.i:                                    ; preds = %if.then
   store i32 0, ptr %0, align 4
-  %incdec.ptr.i.i.i = getelementptr i32, ptr %0, i64 1
-  %cmp.i.i.i.i.i = icmp eq i64 %__n, 1
+  %incdec.ptr.i.i.i = getelementptr i8, ptr %0, i64 4
+  %sub.i.i.i = add i64 %__n, -1
+  %cmp.i.i.i.i.i = icmp eq i64 %sub.i.i.i, 0
   br i1 %cmp.i.i.i.i.i, label %_ZSt27__uninitialized_default_n_aIPimiET_S1_T0_RSaIT1_E.exit, label %if.end.i.i.i.i.i
 
 if.end.i.i.i.i.i:                                 ; preds = %if.then.i.i.i
   %3 = shl i64 %__n, 2
   %4 = add i64 %3, -4
   tail call void @llvm.memset.p0.i64(ptr align 4 %incdec.ptr.i.i.i, i8 0, i64 %4, i1 false)
-  %add.ptr.i.i.i.i.i = getelementptr inbounds i32, ptr %0, i64 %__n
+  %add.ptr.i.i.i.i.i = getelementptr inbounds i32, ptr %incdec.ptr.i.i.i, i64 %sub.i.i.i
   br label %_ZSt27__uninitialized_default_n_aIPimiET_S1_T0_RSaIT1_E.exit
 

@dtcxzyw
Copy link
Owner Author

dtcxzyw commented Dec 21, 2023

diff --git a/bench/openssl/optimized/hexstr_test-bin-hexstr_test.ll b/bench/openssl/optimized/hexstr_test-bin-hexstr_test.ll
index 534c0a07..85a097fc 100644
--- a/bench/openssl/optimized/hexstr_test-bin-hexstr_test.ll
+++ b/bench/openssl/optimized/hexstr_test-bin-hexstr_test.ll
@@ -48,7 +48,7 @@ entry:
   %idxprom = sext i32 %test_index to i64
   %arrayidx = getelementptr inbounds [6 x %struct.testdata], ptr @tbl_testdata, i64 0, i64 %idxprom
   %0 = load ptr, ptr %arrayidx, align 16
-  %sep = getelementptr inbounds [6 x %struct.testdata], ptr @tbl_testdata, i64 0, i64 %idxprom, i32 3
+  %sep = getelementptr inbounds i8, ptr %arrayidx, i64 24
   %1 = load i8, ptr %sep, align 8
   %call = call ptr @ossl_hexstr2buf_sep(ptr noundef %0, ptr noundef nonnull %len, i8 noundef signext %1) #2
   %call1 = call i32 @test_ptr(ptr noundef nonnull @.str.3, i32 noundef 71, ptr noundef nonnull @.str.4, ptr noundef %call) #2
@@ -57,9 +57,9 @@ entry:
 
 lor.lhs.false:                                    ; preds = %entry
   %2 = load i64, ptr %len, align 8
-  %expected = getelementptr inbounds [6 x %struct.testdata], ptr @tbl_testdata, i64 0, i64 %idxprom, i32 1
+  %expected = getelementptr inbounds i8, ptr %arrayidx, i64 8
   %3 = load ptr, ptr %expected, align 8
-  %expected_len = getelementptr inbounds [6 x %struct.testdata], ptr @tbl_testdata, i64 0, i64 %idxprom, i32 2
+  %expected_len = getelementptr inbounds i8, ptr %arrayidx, i64 16
   %4 = load i64, ptr %expected_len, align 16
   %call2 = call i32 @test_mem_eq(ptr noundef nonnull @.str.3, i32 noundef 72, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, ptr noundef %call, i64 noundef %2, ptr noundef %3, i64 noundef %4) #2
   %tobool3.not = icmp eq i32 %call2, 0
@@ -93,8 +93,9 @@ entry:
   store i64 0, ptr %len, align 8
   %idxprom = sext i32 %test_index to i64
   %arrayidx = getelementptr inbounds [6 x %struct.testdata], ptr @tbl_testdata, i64 0, i64 %idxprom
-  %0 = and i32 %test_index, -2
-  %cmp.not = icmp eq i32 %0, 2
+  %sep = getelementptr inbounds i8, ptr %arrayidx, i64 24
+  %0 = load i8, ptr %sep, align 8
+  %cmp.not = icmp eq i8 %0, 95
   %1 = load ptr, ptr %arrayidx, align 16
   %call28 = call ptr @OPENSSL_hexstr2buf(ptr noundef %1, ptr noundef nonnull %len) #2
   br i1 %cmp.not, label %if.else26, label %if.then
@@ -106,9 +107,9 @@ if.then:                                          ; preds = %entry
 
 lor.lhs.false:                                    ; preds = %if.then
   %2 = load i64, ptr %len, align 8
-  %expected = getelementptr inbounds [6 x %struct.testdata], ptr @tbl_testdata, i64 0, i64 %idxprom, i32 1
+  %expected = getelementptr inbounds i8, ptr %arrayidx, i64 8
   %3 = load ptr, ptr %expected, align 8
-  %expected_len = getelementptr inbounds [6 x %struct.testdata], ptr @tbl_testdata, i64 0, i64 %idxprom, i32 2
+  %expected_len = getelementptr inbounds i8, ptr %arrayidx, i64 16
   %4 = load i64, ptr %expected_len, align 16
   %call3 = call i32 @test_mem_eq(ptr noundef nonnull @.str.3, i32 noundef 94, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, ptr noundef %call28, i64 noundef %2, ptr noundef %3, i64 noundef %4) #2
   %tobool4.not = icmp eq i32 %call3, 0
@@ -122,7 +123,7 @@ lor.lhs.false5:                                   ; preds = %lor.lhs.false
   br i1 %tobool8.not, label %err, label %if.end
 
 if.end:                                           ; preds = %lor.lhs.false5
-  %cmp12 = icmp ult i32 %test_index, 2
+  %cmp12 = icmp eq i8 %0, 58
   br i1 %cmp12, label %if.then14, label %if.else
 
 if.then14:                                        ; preds = %if.end
@@ -171,9 +172,9 @@ entry:
 
 land.lhs.true:                                    ; preds = %entry
   %1 = load i64, ptr %len, align 8
-  %expected = getelementptr inbounds [6 x %struct.testdata], ptr @tbl_testdata, i64 0, i64 %idxprom, i32 1
+  %expected = getelementptr inbounds i8, ptr %arrayidx, i64 8
   %2 = load ptr, ptr %expected, align 8
-  %expected_len = getelementptr inbounds [6 x %struct.testdata], ptr @tbl_testdata, i64 0, i64 %idxprom, i32 2
+  %expected_len = getelementptr inbounds i8, ptr %arrayidx, i64 16
   %3 = load i64, ptr %expected_len, align 16
   %call3 = call i32 @test_mem_eq(ptr noundef nonnull @.str.3, i32 noundef 122, ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, ptr noundef nonnull %buf, i64 noundef %1, ptr noundef %2, i64 noundef %3) #2
   %tobool4.not = icmp eq i32 %call3, 0

Copy link
Contributor

baseline: llvm/llvm-project@a9ca820
patch: llvm/llvm-project#68882
sha256: eadb2ab7b3943f4068dacec49d9b8961de173458db7b66c65347f31efb7cae20
commit: 6d1e171
10361 files changed, 10458211 insertions(+), 10940454 deletions(-)
6d1e171 pre-commit: Update
bench/abseil-cpp/optimized/futex_waiter.cc.ll
bench/abseil-cpp/optimized/has_absl_stringify_test.cc.ll
bench/abseil-cpp/optimized/has_ostream_operator_test.cc.ll
bench/abseil-cpp/optimized/mutex_method_pointer_test.cc.ll
bench/abseil-cpp/optimized/program_name.cc.ll
bench/abseil-cpp/optimized/randen.cc.ll
bench/abseil-cpp/optimized/sample_element_size_test.cc.ll
bench/abseil-cpp/optimized/seed_material.cc.ll
bench/abseil-cpp/optimized/stacktrace_test.cc.ll
bench/abseil-cpp/optimized/status_payload_printer.cc.ll
bench/abseil-cpp/optimized/str_split.cc.ll
bench/abseil-cpp/optimized/sysinfo.cc.ll
bench/abseil-cpp/optimized/test_util.cc.ll
bench/abseil-cpp/optimized/traits_test.cc.ll
bench/abseil-cpp/optimized/vdso_support.cc.ll
bench/arrow/optimized/fast-dtoa.cc.ll
bench/box2d/optimized/b2_timer.cpp.ll
bench/bullet3/optimized/b3AlignedAllocator.ll
bench/bullet3/optimized/btAlignedAllocator.ll
bench/bullet3/optimized/btCollisionAlgorithm.ll
bench/cpython/optimized/_statisticsmodule.ll
bench/cpython/optimized/_testclinic_limited.ll
bench/cpython/optimized/myreadline.ll
bench/cpython/optimized/pystrtod.ll
bench/cvc5/optimized/icp_solver.cpp.ll
bench/cvc5/optimized/inference_id.cpp.ll
bench/cvc5/optimized/lfsc_util.cpp.ll
bench/cvc5/optimized/safe_print.cpp.ll
bench/cvc5/optimized/sat_solver_factory.cpp.ll
bench/cvc5/optimized/stats.cpp.ll
bench/cvc5/optimized/theory_fp_utils.cpp.ll
bench/cvc5/optimized/trust_id.cpp.ll
bench/cvc5/optimized/utility.cpp.ll
bench/double_conversion/optimized/fast-dtoa.cc.ll
bench/eastl/optimized/TestSpan.cpp.ll
bench/eastl/optimized/eathread_rwmutex_ip.cpp.ll
bench/eastl/optimized/thread_support.cpp.ll
bench/flac/optimized/vorbiscomment.c.ll
bench/folly/optimized/AsyncSocketTransport.cpp.ll
bench/folly/optimized/ClockGettimeWrappers.cpp.ll
bench/folly/optimized/HazptrDomain.cpp.ll
bench/folly/optimized/InlineExecutor.cpp.ll
bench/folly/optimized/LogName.cpp.ll
bench/folly/optimized/Logger.cpp.ll
bench/folly/optimized/MemoryIdler.cpp.ll
bench/folly/optimized/SocketFastOpen.cpp.ll
bench/folly/optimized/UncaughtExceptions.cpp.ll
bench/grpc/optimized/grpc_alts_credentials_options.cc.ll
bench/grpc/optimized/grpc_tls_certificate_match.cc.ll
bench/grpc/optimized/internal_errqueue.cc.ll
bench/grpc/optimized/socket_utils_linux.cc.ll
bench/grpc/optimized/xds_bootstrap.cc.ll
bench/hermes/optimized/Conversions.cpp.ll
bench/hermes/optimized/HeapSnapshot.cpp.ll
bench/hermes/optimized/RandomSeedParser.cpp.ll
bench/hermes/optimized/StringRefUtils.cpp.ll
bench/hermes/optimized/count.c.ll
bench/icu/optimized/bocsu.ll
bench/icu/optimized/cal.ll
bench/icu/optimized/cecal.ll
bench/icu/optimized/curramt.ll
bench/icu/optimized/currfmt.ll
bench/icu/optimized/double-conversion-fast-dtoa.ll
bench/icu/optimized/escapesrc.ll
bench/icu/optimized/gencfu.ll
bench/icu/optimized/gencmn.ll
bench/icu/optimized/nultrans.ll
bench/icu/optimized/punycode.ll
bench/icu/optimized/tmutamt.ll
bench/icu/optimized/unistr_titlecase_brkiter.ll
bench/icu/optimized/uobject.ll
bench/icu/optimized/uscript_props.ll
bench/icu/optimized/uwmsg.ll
bench/jemalloc/optimized/exp_grow.ll
bench/jemalloc/optimized/exp_grow.pic.ll
bench/jemalloc/optimized/exp_grow.sym.ll
bench/jemalloc/optimized/malloc_io.ll
bench/jemalloc/optimized/malloc_io.pic.ll
bench/jemalloc/optimized/malloc_io.sym.ll
bench/libdeflate/optimized/utils.c.ll
bench/libuv/optimized/random-devurandom.c.ll
bench/lua/optimized/linit.ll
bench/lua/optimized/lua.ll
bench/luajit/optimized/lib_init.ll
bench/luajit/optimized/lib_init_dyn.ll
bench/memcached/optimized/timedrun.ll
bench/meshoptimizer/optimized/vfetchanalyzer.cpp.ll
bench/ms-gsl/optimized/owner_tests.cpp.ll
bench/ms-gsl/optimized/span_compatibility_tests.cpp.ll
bench/ms-gsl/optimized/strict_notnull_tests.cpp.ll
bench/node/optimized/random-devurandom.ll
bench/ocio/optimized/HashUtils.cpp.ll
bench/oiio/optimized/Cineon.cpp.ll
bench/oiio/optimized/DPX.cpp.ll
bench/oiio/optimized/pugixml.cpp.ll
bench/openexr/optimized/ImfGenericInputFile.cpp.ll
bench/openssl/optimized/event_queue_test-bin-event_queue_test.ll
bench/openssl/optimized/libapps-lib-s_socket.ll
bench/openssl/optimized/libcrypto-lib-asn1_item_list.ll

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant