You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mateoconlechuga
changed the title
Structure causes compiler to crash
Division by 3 causes compiler to crash
Feb 2, 2023
mateoconlechuga
changed the title
Division by 3 causes compiler to crash
Division by multiple of 3 causes compiler to crash
Feb 2, 2023
mateoconlechuga
changed the title
Division by multiple of 3 causes compiler to crash
Division by non-multiple of 2 causes compiler to crash
Feb 2, 2023
This seems really important to fix ASAP. Other optimization levels produce faster code, often significantly. Additionally, I've found that they may even produce a smaller binary because inlining, as long as it's not excessive, actually saves space due to omitting all the value juggling necessary when every function is emitted as an actual function.
Even if the fix is just to make these non-multiple-of-two divisions call the general division routine instead of using some optimized multiply trick, slow code is better than no code.
This causes a compiler crash when compiled with any
-O
flag except-Oz
:=> See here jacobly0/llvm-project#12
The text was updated successfully, but these errors were encountered: