-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[Hexagon][LLVM][CodeGen] Make CodeGenHexagon a subclass of CodeGenCPU #10908
Conversation
Nice! I'll try it downstream, hopefully it still works. :D |
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.
🎉 I'll let @kparzysz-quic merge after checking with downstream.
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.
LGTM!
@supersat @kparzysz-quic @csullivan thanks! PR is merged! |
…apache#10908) * Initial pass at making CodeGenHexagon a subclass of CodeGenCPU * More cleanup of CodeGenHexagon * Remove unused func_handle_map_ from CodeGenHexagon * Remove CreateCallExtern and CreateCallPacked from CodeGenHexagon * Code style fixes * Run clang-format-10 over codegen_hexagon.cc
…apache#10908) * Initial pass at making CodeGenHexagon a subclass of CodeGenCPU * More cleanup of CodeGenHexagon * Remove unused func_handle_map_ from CodeGenHexagon * Remove CreateCallExtern and CreateCallPacked from CodeGenHexagon * Code style fixes * Run clang-format-10 over codegen_hexagon.cc
…apache#10908) * Initial pass at making CodeGenHexagon a subclass of CodeGenCPU * More cleanup of CodeGenHexagon * Remove unused func_handle_map_ from CodeGenHexagon * Remove CreateCallExtern and CreateCallPacked from CodeGenHexagon * Code style fixes * Run clang-format-10 over codegen_hexagon.cc
…apache#10908) * Initial pass at making CodeGenHexagon a subclass of CodeGenCPU * More cleanup of CodeGenHexagon * Remove unused func_handle_map_ from CodeGenHexagon * Remove CreateCallExtern and CreateCallPacked from CodeGenHexagon * Code style fixes * Run clang-format-10 over codegen_hexagon.cc
There is a lot of duplicate code between CodeGenCPU and CodeGenHexagon, and I suspect this will increase over time. This PR removes this duplicate code and makes CodeGenHexagon a subclass of CodeGenCPU.