-
Notifications
You must be signed in to change notification settings - Fork 371
[RegressionTest] Add bitcode E2E test by SAP for cost-based function outlining with indirectbr/blockaddr #293
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
base: main
Are you sure you want to change the base?
Conversation
|
|
I don't know when/where the issue shows exactly, but maybe you can run |
You can go even further to use |
This is not what we want here. The purpose of this test (and following) is, that we want to test IR, that was produced by our compiler. Thus, I
We are aware that LLVM tests are generally minimally reduced. This is why I first inquired the community opinion in the forum post and labeled the tests as end-to-end test.
This is also because of the above mentioned purpose of this test. This way it is visible that we are the test owners and avoids that someone updates the test without us knowing.
I removed that part from the README, since when the issue is fixed will be outdated anyways. Maybe this part was also sub optimally phrased, because the IR of this test does (intentionally) not trigger the bug. We will of course include a regression test when fixing the issue in the LLVM main repo.
This part is done. |
hubert-reinterpretcast
left a comment
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.
Please change the PR title/subject to be more descriptive: "SAP usecase" is unclear.
As discussed in this forum question, we hereby contribute the first SAP e2e test, that tests our common usage of
indirectbr/blockaddrto achieve systematic outlining of functions.