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 PR77068 #103

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions bench/duckdb/optimized/ub_duckdb_func_scalar.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -7349,10 +7349,10 @@ if.end337: ; preds = %if.end323
%101 = load i8, ptr %arrayidx324, align 1, !tbaa !14
%conv325 = sext i8 %101 to i32
%call326 = call i32 @tolower(i32 noundef %conv325) #31
%sext = shl i32 %call326, 24
switch i32 %sext, label %if.else345 [
i32 1879048192, label %cleanup350
i32 1627389952, label %if.then344
%trunc = trunc i32 %call326 to i8
switch i8 %trunc, label %if.else345 [
i8 112, label %cleanup350
i8 97, label %if.then344
]

if.then344: ; preds = %if.end337
Expand Down
22 changes: 11 additions & 11 deletions bench/luajit/optimized/lib_table.ll
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ target triple = "x86_64-unknown-linux-gnu"
@.str.6 = private unnamed_addr constant [6 x i8] c"clear\00", align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @luaopen_table(ptr noundef %L) local_unnamed_addr #0 {
define dso_local noundef i32 @luaopen_table(ptr noundef %L) local_unnamed_addr #0 {
entry:
tail call void @lj_lib_register(ptr noundef %L, ptr noundef nonnull @.str, ptr noundef nonnull @lj_lib_init_table, ptr noundef nonnull @lj_lib_cf_table) #3
%top = getelementptr inbounds %struct.lua_State, ptr %L, i64 0, i32 8
Expand Down Expand Up @@ -68,7 +68,7 @@ entry:
}

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_maxn(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_maxn(ptr noundef %L) #0 {
entry:
%call = tail call ptr @lj_lib_checktab(ptr noundef %L, i32 noundef 1) #3
%array1 = getelementptr inbounds %struct.GCtab, ptr %call, i64 0, i32 5
Expand Down Expand Up @@ -143,7 +143,7 @@ for.end32: ; preds = %for.inc30
}

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_insert(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_insert(ptr noundef %L) #0 {
entry:
%call = tail call ptr @lj_lib_checktab(ptr noundef %L, i32 noundef 1) #3
%call1 = tail call i32 @lj_tab_len(ptr noundef %call) #3
Expand All @@ -155,10 +155,10 @@ entry:
%sub.ptr.lhs.cast = ptrtoint ptr %0 to i64
%sub.ptr.rhs.cast = ptrtoint ptr %1 to i64
%sub.ptr.sub = sub i64 %sub.ptr.lhs.cast, %sub.ptr.rhs.cast
%sext = shl i64 %sub.ptr.sub, 32
switch i64 %sext, label %if.then7 [
i64 68719476736, label %if.end30
i64 103079215104, label %if.end
%trunc = trunc i64 %sub.ptr.sub to i32
switch i32 %trunc, label %if.then7 [
i32 16, label %if.end30
i32 24, label %if.end
]

if.then7: ; preds = %entry
Expand Down Expand Up @@ -294,7 +294,7 @@ if.end59: ; preds = %if.then57, %land.lh
}

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_concat(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_concat(ptr noundef %L) #0 {
entry:
%call = tail call ptr @lj_lib_checktab(ptr noundef %L, i32 noundef 1) #3
%call1 = tail call ptr @lj_lib_optstr(ptr noundef %L, i32 noundef 2) #3
Expand Down Expand Up @@ -414,7 +414,7 @@ if.end54: ; preds = %if.then52, %if.end
}

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_sort(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_sort(ptr noundef %L) #0 {
entry:
%call = tail call ptr @lj_lib_checktab(ptr noundef %L, i32 noundef 1) #3
%call1 = tail call i32 @lj_tab_len(ptr noundef %call) #3
Expand Down Expand Up @@ -689,7 +689,7 @@ declare void @lua_rawseti(ptr noundef, i32 noundef, i32 noundef) local_unnamed_a
declare hidden i32 @lj_lib_postreg(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_new(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_new(ptr noundef %L) #0 {
entry:
%call = tail call i32 @lj_lib_checkint(ptr noundef %L, i32 noundef 1) #3
%call1 = tail call i32 @lj_lib_checkint(ptr noundef %L, i32 noundef 2) #3
Expand All @@ -700,7 +700,7 @@ entry:
declare void @lua_createtable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_clear(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_clear(ptr noundef %L) #0 {
entry:
%call = tail call ptr @lj_lib_checktab(ptr noundef %L, i32 noundef 1) #3
tail call void @lj_tab_clear(ptr noundef %call) #3
Expand Down
22 changes: 11 additions & 11 deletions bench/luajit/optimized/lib_table_dyn.ll
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ target triple = "x86_64-unknown-linux-gnu"
@.str.6 = private unnamed_addr constant [6 x i8] c"clear\00", align 1

; Function Attrs: nounwind uwtable
define i32 @luaopen_table(ptr noundef %L) local_unnamed_addr #0 {
define noundef i32 @luaopen_table(ptr noundef %L) local_unnamed_addr #0 {
entry:
tail call void @lj_lib_register(ptr noundef %L, ptr noundef nonnull @.str, ptr noundef nonnull @lj_lib_init_table, ptr noundef nonnull @lj_lib_cf_table) #3
%top = getelementptr inbounds %struct.lua_State, ptr %L, i64 0, i32 8
Expand Down Expand Up @@ -68,7 +68,7 @@ entry:
}

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_maxn(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_maxn(ptr noundef %L) #0 {
entry:
%call = tail call ptr @lj_lib_checktab(ptr noundef %L, i32 noundef 1) #3
%array1 = getelementptr inbounds %struct.GCtab, ptr %call, i64 0, i32 5
Expand Down Expand Up @@ -143,7 +143,7 @@ for.end32: ; preds = %for.inc30
}

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_insert(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_insert(ptr noundef %L) #0 {
entry:
%call = tail call ptr @lj_lib_checktab(ptr noundef %L, i32 noundef 1) #3
%call1 = tail call i32 @lj_tab_len(ptr noundef %call) #3
Expand All @@ -155,10 +155,10 @@ entry:
%sub.ptr.lhs.cast = ptrtoint ptr %0 to i64
%sub.ptr.rhs.cast = ptrtoint ptr %1 to i64
%sub.ptr.sub = sub i64 %sub.ptr.lhs.cast, %sub.ptr.rhs.cast
%sext = shl i64 %sub.ptr.sub, 32
switch i64 %sext, label %if.then7 [
i64 68719476736, label %if.end30
i64 103079215104, label %if.end
%trunc = trunc i64 %sub.ptr.sub to i32
switch i32 %trunc, label %if.then7 [
i32 16, label %if.end30
i32 24, label %if.end
]

if.then7: ; preds = %entry
Expand Down Expand Up @@ -294,7 +294,7 @@ if.end59: ; preds = %if.then57, %land.lh
}

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_concat(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_concat(ptr noundef %L) #0 {
entry:
%call = tail call ptr @lj_lib_checktab(ptr noundef %L, i32 noundef 1) #3
%call1 = tail call ptr @lj_lib_optstr(ptr noundef %L, i32 noundef 2) #3
Expand Down Expand Up @@ -414,7 +414,7 @@ if.end54: ; preds = %if.then52, %if.end
}

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_sort(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_sort(ptr noundef %L) #0 {
entry:
%call = tail call ptr @lj_lib_checktab(ptr noundef %L, i32 noundef 1) #3
%call1 = tail call i32 @lj_tab_len(ptr noundef %call) #3
Expand Down Expand Up @@ -689,7 +689,7 @@ declare void @lua_rawseti(ptr noundef, i32 noundef, i32 noundef) local_unnamed_a
declare hidden i32 @lj_lib_postreg(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_new(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_new(ptr noundef %L) #0 {
entry:
%call = tail call i32 @lj_lib_checkint(ptr noundef %L, i32 noundef 1) #3
%call1 = tail call i32 @lj_lib_checkint(ptr noundef %L, i32 noundef 2) #3
Expand All @@ -700,7 +700,7 @@ entry:
declare void @lua_createtable(ptr noundef, i32 noundef, i32 noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define internal i32 @lj_cf_table_clear(ptr noundef %L) #0 {
define internal noundef i32 @lj_cf_table_clear(ptr noundef %L) #0 {
entry:
%call = tail call ptr @lj_lib_checktab(ptr noundef %L, i32 noundef 1) #3
tail call void @lj_tab_clear(ptr noundef %call) #3
Expand Down
8 changes: 4 additions & 4 deletions bench/openssl/optimized/padlock-dso-e_padlock.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1194,10 +1194,10 @@ if.end19: ; preds = %if.end, %if.else
%bf.set25 = or disjoint i16 %bf.shl32, %bf.value23
%bf.set34 = or disjoint i16 %bf.set25, %bf.load22
store i16 %bf.set34, ptr %cword21, align 4
switch i32 %mul, label %return [
i32 128, label %sw.bb
i32 192, label %sw.bb42
i32 256, label %sw.bb42
switch i32 %call, label %return [
i32 16, label %sw.bb
i32 24, label %sw.bb42
i32 32, label %sw.bb42
]

sw.bb: ; preds = %if.end19
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup_pre_commit_patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -euo pipefail
shopt -s inherit_errexit

export GITHUB_PATCH_ID="<user_name>/llvm-project/commit/<commit_hash>"
export GITHUB_PATCH_ID="llvm/llvm-project/pull/77068"

# Please rebase manually
# git fetch origin
Expand Down