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
Regression (r273545): Bad machine code: Using an undefined physical register #28669
Comments
$ cat test.cpp bool a; $ clang++ -fstack-protector --target=arm-linux-androideabi -march=armv7-a -mthumb -Os -fsanitize=address -std=gnu++11 -c test.cpp
*** Bad machine code: MBB exits via unconditional fall-through but its successor differs from its CFG successor! ***
*** Bad machine code: Using an undefined physical register ***
*** Bad machine code: Using an undefined physical register ***
*** Bad machine code: Using an undefined physical register ***
|
I have reopened the Phabricator revision for this patch. Go there for a first analysis of the provided test case. |
Commented there. For tracking purposes summarizing what I said. |
I reran this test case after re-commiting the bug fix for IfConversion. The live-in lists are indeed more reasonable (thanks to Matthias' fix on https://reviews.llvm.org/D22027), and the particular error we saw before here is now gone :-) However, this test case gets stopped by the verifier at a later stage, after "Unpack machine instruction bundles". Not sure what is going on there... |
mentioned in issue #31494 |
Extended Description
e.g.
https://build.chromium.org/p/chromium.fyi/builders/ClangToTAndroidASan/builds/3365
Working on a reproducer.
The text was updated successfully, but these errors were encountered: