-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
code_cleanupNo functional changes. Reformatting, reorganizing, or refactoring existing code.No functional changes. Reformatting, reorganizing, or refactoring existing code.
Description
Here's what I think we should do on this issue. We can't do what #5567 did to the other targets because CodeGen_GPU_Host needs them as CRTP base classes.
We can fix that by refactoring CodeGen_GPU_Host to be a lowering pass like HexagonOffload.cpp instead. I think this would generally be a great cleanup to do anyways. CodeGen_GPU_Host wouldn't be needed any more. This will be much easier after OpenGL goes away (which is #5626), because OpenGL vertex buffer stuff is the hardest thing to move to a separate lowering pass.
After that is done, we can just do basically the same thing as #5567 to the rest of the CodeGen_* classes.
Originally posted by @dsharletg in #5503 (comment)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
code_cleanupNo functional changes. Reformatting, reorganizing, or refactoring existing code.No functional changes. Reformatting, reorganizing, or refactoring existing code.