-
Notifications
You must be signed in to change notification settings - Fork 8
pre-commit: PR151115 #2616
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: PR151115 #2616
Conversation
Diff moderunner: ariselab-64c-docker 1493 files changed, 860718 insertions(+), 859642 deletions(-)
7 4 bench/abc/optimized/abcUtil.ll |
The provided diff modifies several LLVM IR functions across multiple projects, primarily involving changes to control flow, phi nodes, and calls to LLVM intrinsics. Here are the major changes summarized:
These changes collectively aim to improve code efficiency, reduce redundancy, and enhance optimization opportunities by simplifying control flow and leveraging LLVM intrinsics. model: qwen-plus-latest |
%6 = sitofp i32 %2 to float | ||
%7 = fdiv float %5, %6 | ||
%8 = tail call float @llvm.fmuladd.f32(float %7, float 5.000000e-01, float 5.000000e-01) | ||
br label %9 |
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.
Might count as a regression, if the speculation was desirable.
46: ; preds = %45 | ||
%47 = tail call i64 @_ZNSt6chrono3_V212steady_clock3nowEv() #33 | ||
%48 = add nsw i64 %47, %.sroa.010.0.i | ||
%44 = tail call i64 @llvm.smax.i64(i64 %43, i64 0) |
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.
Regression. (The smax is redundant based on the branch condition of the phi edge where it is used.)
br i1 %or.cond3, label %43, label %58 | ||
|
||
43: ; preds = %38, %37 | ||
%mul = tail call { i32, i1 } @llvm.umul.with.overflow.i32(i32 %.045, i32 %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.
Regression
Link: llvm/llvm-project#151115
Requested by: @nikic