-
Notifications
You must be signed in to change notification settings - Fork 13.5k
opt: Instruction Combining did not reach a fixpoint after 1 iterations #92648
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
Comments
To disable this assertion, you should set For more details about single-iteration InstCombine and fixpoints, see @nikic's blog: https://www.npopov.com/2024/01/01/This-year-in-LLVM-2023.html#compile-time-improvements and https://developers.redhat.com/articles/2023/12/07/how-single-iteration-instcombine-improves-llvm-compile-time. |
I discovered there was a switch for this after reporting this as a bug (and apparently the intention is that compiler developers set this to "off" even though the default is "on"). I fixed it as you described, by using |
Can I close this issue?
Do you think it is better to turn it off by default? cc @nikic |
Sure, if this is the intended behavior. I think it's on by default so that tests run with it on by default in |
opt-18
crashes with the following input:This is a heavily reduced test case that I hit when updating my compiler to LLVM 18 (thanks to llvm-reduce, because bugpoint couldn't reduce my testcase).
Result:
Version:
Environment: Debian 12 running inside a distrobox (host OS is Fedora Asahi 39).
EDIT: still happening on trunk: https://llvm.godbolt.org/z/8eh88z17a
The text was updated successfully, but these errors were encountered: