From 2289509a81c8c401dfb851ab03f9437d56ee14e0 Mon Sep 17 00:00:00 2001 From: fhahn <450489+fhahn@users.noreply.github.com> Date: Sun, 12 Oct 2025 00:48:03 +0800 Subject: [PATCH 1/3] pre-commit: PRllvm/llvm-project/compare/main...fhahn:llvm-project:scev-guards-div-first --- scripts/setup_pre_commit_patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/setup_pre_commit_patch.sh b/scripts/setup_pre_commit_patch.sh index c8d0fce0bf7..ca4a505244f 100755 --- a/scripts/setup_pre_commit_patch.sh +++ b/scripts/setup_pre_commit_patch.sh @@ -2,7 +2,7 @@ set -euo pipefail shopt -s inherit_errexit -export GITHUB_PATCH_ID="/llvm-project/commit/" +export GITHUB_PATCH_ID=llvm/llvm-project/compare/main...fhahn:llvm-project:scev-guards-div-first export COMPTIME_MODE=0 export STAT_MODE=0 export STAT_NAME="" From 09d6c5d05e6286d71071d59ed2a5c6db86e923d7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 17:04:39 +0000 Subject: [PATCH 2/3] pre-commit: Update --- .../optimized/ub_duckdb_storage_compression.ll | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/bench/duckdb/optimized/ub_duckdb_storage_compression.ll b/bench/duckdb/optimized/ub_duckdb_storage_compression.ll index 8d1b17641b0..035186702da 100644 --- a/bench/duckdb/optimized/ub_duckdb_storage_compression.ll +++ b/bench/duckdb/optimized/ub_duckdb_storage_compression.ll @@ -30352,20 +30352,16 @@ define linkonce_odr void @_ZN6duckdb24EmptyValidityCompression8CompressERNS_16Co _ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i: ; preds = %9 %12 = and i64 %2, 63 %.not.i = icmp eq i64 %12, 0 - br i1 %.not.i, label %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.preheader.i, label %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.i.preheader + br i1 %.not.i, label %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.i, label %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.i.preheader _ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.i.preheader: ; preds = %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i %13 = load i64, ptr %7, align 8, !tbaa !19 %.not49.i12 = icmp eq i64 %11, 1 br i1 %.not49.i12, label %.preheader.i.preheader, label %.lr.ph -_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.preheader.i: ; preds = %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i - %umax.i = call i64 @llvm.umax.i64(i64 %11, i64 1) - br label %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.i - -_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.i: ; preds = %.loopexit.us.i, %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.preheader.i - %.01544.us.i = phi i64 [ %.3.us.i, %.loopexit.us.i ], [ 0, %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.preheader.i ] - %.03043.us.i = phi i64 [ %14, %.loopexit.us.i ], [ 0, %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.preheader.i ] +_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.i: ; preds = %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i, %.loopexit.us.i + %.01544.us.i = phi i64 [ %.3.us.i, %.loopexit.us.i ], [ 0, %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i ] + %.03043.us.i = phi i64 [ %14, %.loopexit.us.i ], [ 0, %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i ] %14 = add nuw nsw i64 %.03043.us.i, 1 %15 = getelementptr inbounds nuw i64, ptr %7, i64 %.03043.us.i %16 = load i64, ptr %15, align 8, !tbaa !19 @@ -30389,7 +30385,7 @@ _ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.i: ; preds = % .loopexit.us.i: ; preds = %.lr.ph.us.i, %20, %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.i %.3.us.i = phi i64 [ %21, %20 ], [ %.01544.us.i, %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.i ], [ %19, %.lr.ph.us.i ] - %exitcond57.not.i = icmp eq i64 %14, %umax.i + %exitcond57.not.i = icmp eq i64 %14, %11 br i1 %exitcond57.not.i, label %_ZNK6duckdb21TemplatedValidityMaskImE10CountValidEm.exit, label %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.i .preheader.i.preheader: ; preds = %.loopexit.i, %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.i.preheader From 6d0c5238593f65c97abb61ce83b3849c91b7c7fd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 11 Oct 2025 17:04:40 +0000 Subject: [PATCH 3/3] pre-commit: Remap --- bench/duckdb/optimized/ub_duckdb_storage_compression.ll | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/duckdb/optimized/ub_duckdb_storage_compression.ll b/bench/duckdb/optimized/ub_duckdb_storage_compression.ll index 035186702da..87ee0cbcee3 100644 --- a/bench/duckdb/optimized/ub_duckdb_storage_compression.ll +++ b/bench/duckdb/optimized/ub_duckdb_storage_compression.ll @@ -30352,14 +30352,14 @@ define linkonce_odr void @_ZN6duckdb24EmptyValidityCompression8CompressERNS_16Co _ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i: ; preds = %9 %12 = and i64 %2, 63 %.not.i = icmp eq i64 %12, 0 - br i1 %.not.i, label %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.i, label %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.i.preheader + br i1 %.not.i, label %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.preheader.i, label %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.i.preheader _ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.i.preheader: ; preds = %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i %13 = load i64, ptr %7, align 8, !tbaa !19 %.not49.i12 = icmp eq i64 %11, 1 br i1 %.not49.i12, label %.preheader.i.preheader, label %.lr.ph -_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.i: ; preds = %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i, %.loopexit.us.i +_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.us.preheader.i: ; preds = %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i, %.loopexit.us.i %.01544.us.i = phi i64 [ %.3.us.i, %.loopexit.us.i ], [ 0, %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i ] %.03043.us.i = phi i64 [ %14, %.loopexit.us.i ], [ 0, %_ZNK6duckdb21TemplatedValidityMaskImE16GetValidityEntryEm.exit.lr.ph.i ] %14 = add nuw nsw i64 %.03043.us.i, 1