This patch adds a script to reduce GlobalISel failures using bugpoint.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Hi Volkan,
Disclaimer: I have looked at the patch at all.
Could this be extended to reduce any isel related bug?
Cheers,
-Quentin
Out of interest: Could you explain what this is doing exactly (as the comment at the beginning of the script isn't too specific about what is happening here)? At a first glance it seems to inject a custom command into bugpoint and checks the output for that "LLVM ERROR:" regex? Or is there something else?
Yes, it can be extended to reduce the other ISel problems by adding a regex and the specific arguments for llc.
That’s correct. It runs llc to get the error message using a regex and creates a custom command to check that specific error. Then, it runs bugpoint with the custom command.
I’ll update the description.
I'm guessing the answer is no since you'd have to update the regex as well, but would it make sense to allow llc arguments to be passed through from the command line or something like that?
I didn't mean to have my comment hold on this patch. I think it is already an improvement and should push it to take advantage of it now. We can improve things further later as we see fit.