-
Notifications
You must be signed in to change notification settings - Fork 9
pre-commit: PR151333 #2623
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: PR151333 #2623
Conversation
Diff moderunner: ariselab-64c-docker 9135 files changed, 13100610 insertions(+), 12970814 deletions(-) 6 3 bench/abc/optimized/giaTtopt.ll |
|
The provided patch contains several key changes across multiple LLVM IR files. Here is a summary of the major changes:
These changes collectively aim to enhance code efficiency and facilitate better optimization by the LLVM backend, particularly in scenarios involving repeated pointer arithmetic within loops. model: qwen-plus-latest |
| %24 = getelementptr i8, ptr %23, i64 %.idx.i | ||
| %23 = getelementptr inbounds nuw i8, ptr %12, i64 160 | ||
| %23 = getelementptr inbounds nuw [1 x %struct.mi_page_s], ptr %23, i64 0, i64 %22 | ||
| %24 = getelementptr inbounds nuw i8, ptr %23, i64 56 |
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.
Missing fold to combine constant GEP indices: https://llvm.godbolt.org/z/xonqM9Wqj
|
Produces a lot of new constant offset invariant.gep. Should suppress that case in LICM. |
Link: llvm/llvm-project#151333
Requested by: @nikic