-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
C++ target fails Performance/DropLoopEntryBranchInLRRule_4.txt #3959
Comments
@kaby76 more fun. Note the diff above. :) I think that might expose the lack of reuse being the cause of speed issue. |
The fix for #3845 exposed this issue. |
After fixing my fix for #3845, we get this diff in the trace where C++ segv's instead of running forever (after the previous C++ nullptr fix). |
Signed-off-by: Terence Parr <[email protected]>
It dies here at line 170 in PredictionContext.h:
caller is line 79 in ArrayPredictionContext.cpp
Ultimately this pops back to line 30 of ArrayPredictionContext.cpp where
Coincidence that returnStates is a vector with one value in it: 8? Caller is line 92 of ArrayPredictionContext.cpp
almost as if we are passing in the return state as a pointer. |
Signed-off-by: Terence Parr <[email protected]>
Fixed by #3978 |
It hits nonlinearity OR it is merging incorrectly. I suspect the latter.
Run
Unzip the file test.zip into a test dir to get test. Then from test dir:
Comparing Java / C++ trace, we see Java reuses a context but C++ doesn't:
If we have merged #3817 then you can get with output this assuming
~/tmp/bug/input
is your test dir:The text was updated successfully, but these errors were encountered: