-
Notifications
You must be signed in to change notification settings - Fork 9
pre-commit: PR123518 #2723
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: PR123518 #2723
Conversation
Diff moderunner: ariselab-64c-docker 1011 files changed, 31359 insertions(+), 31086 deletions(-) 1 1 bench/abc/optimized/ac_wrapper.ll |
|
The changes in the diff involve increasing alignment attributes in LLVM IR instructions across multiple files. The key modifications are:
These changes reflect improved alignment information, likely from enhanced static analysis or updated type metadata, enabling more efficient code generation and safer memory access. model: qwen-plus-latest |
| %bcmp.i = call i32 @bcmp(ptr noundef nonnull dereferenceable(2) %.pn70.i, ptr noundef nonnull dereferenceable(2) %.171.i, i64 2) | ||
| %123 = icmp eq i32 %bcmp.i, 0 | ||
| %.171.i = getelementptr inbounds nuw i8, ptr %.pn71.i, i64 2 | ||
| %rhsv.i = load i16, ptr %.171.i, align 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
improvement, using compare instead of libcall
| %69 = getelementptr inbounds nuw i8, ptr %.sroa.016.071, i64 32 | ||
| %70 = load ptr, ptr %69, align 8, !alias.scope !7590, !noalias !7591, !nonnull !15, !align !3953, !noundef !15 | ||
| %71 = getelementptr inbounds nuw i8, ptr %.sroa.016.071, i64 40 | ||
| %72 = load i64, ptr %71, align 8, !alias.scope !7590, !noalias !7591, !noundef !15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
| %23 = getelementptr inbounds nuw i8, ptr %.sroa.014.032, i64 8 | ||
| %24 = load ptr, ptr %23, align 8, !alias.scope !3910, !noalias !3911, !nonnull !20, !align !21, !noundef !20 | ||
| %25 = getelementptr inbounds nuw i8, ptr %.sroa.014.032, i64 16 | ||
| %26 = load i64, ptr %25, align 8, !alias.scope !3910, !noalias !3911, !noundef !20 | ||
| br label %29 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
block with load remove
| %69 = getelementptr inbounds nuw i8, ptr %.sroa.016.071, i64 25 | ||
| call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(7) %.sroa.620.i, ptr noundef nonnull readonly align 1 dereferenceable(7) %69, i64 7, i1 false), !noalias !5343 | ||
| br label %73 | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
block with load removed
| %23 = getelementptr inbounds nuw i8, ptr %.sroa.013.033, i64 8 | ||
| %24 = load ptr, ptr %23, align 8, !alias.scope !3279, !noalias !3280, !nonnull !16, !align !670, !noundef !16 | ||
| %25 = getelementptr inbounds nuw i8, ptr %.sroa.013.033, i64 16 | ||
| %26 = load i64, ptr %25, align 8, !alias.scope !3279, !noalias !3280, !noundef !16 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
block with load removed
| %69 = getelementptr inbounds nuw i8, ptr %.sroa.016.071, i64 32 | ||
| %70 = load ptr, ptr %69, align 8, !alias.scope !3318, !noalias !3319, !nonnull !23, !align !363, !noundef !23 | ||
| %71 = getelementptr inbounds nuw i8, ptr %.sroa.016.071, i64 40 | ||
| %72 = load i64, ptr %71, align 8, !alias.scope !3318, !noalias !3319, !noundef !23 | ||
| br label %"_ZN53_$LT$smol_str..Repr$u20$as$u20$core..clone..Clone$GT$5clone17h618261f33d488897E.exit14.i" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
block with load removed
Link: llvm/llvm-project#123518
Requested by: @fhahn