-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[REQUEST]: LLVM-IR suggested enhancements #5062
Comments
Thanks for the report, I've had in mind improving the llvm-ir pane for a while now, still on the backlog :) Filters, demangling, and -fno-discard-value-names would be good and happy to do anything else you can think of. I'd like to rework some stuff in the backend to allow control flow graphs for llvm ir to be generated too, and when that happens we can add a button for opening a cfg pane. |
@jeremy-rifkin that would be awesome. Perhaps it would be feasible to add data-dependency-graphs too? |
Data dependency graphs are a good idea, we could definitely do something like that. And for assembly too. |
This PR will add filtering and other output options to the LLVM IR pane ![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/ffc865ea-b3fa-441f-b501-4ec4b68e261f) ![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/936be326-b55e-40cd-ba47-22b121c1acfb) Closes #5062 Related to #5045
Will divert to #1158 for data-flow / data-dependency stuff |
This PR will add filtering and other output options to the LLVM IR pane ![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/ffc865ea-b3fa-441f-b501-4ec4b68e261f) ![image](https://github.com/compiler-explorer/compiler-explorer/assets/51220084/936be326-b55e-40cd-ba47-22b121c1acfb) Closes #5062 Related to #5045
Is your feature request related to a problem? Please describe
The LLVM-IR contents somewhat lag behind the shiny and new llvm-opt-pipeline view.
Describe the solution you'd like
(1) When LLVM-IR view is active, it would be helpful to build with
-fno-discard-value-names
. This (most of the time) preserves var names in the IR.(2) It would be helpful to add the filter checkboxes from llvm-opt-pipeline pane, to optionally declutter the view. At least the removal of debug info is very useful.
Thanks for all your great work!
Describe alternatives you've considered
Curl up into fetal posture and cry
Additional context
Not applicable
The text was updated successfully, but these errors were encountered: