-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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] Remove v62 support #7608
base: main
Are you sure you want to change the base?
Conversation
Remove v62 and make v65 as the default isa version for HVX.
@@ -54,10 +54,6 @@ class CodeGen_Hexagon : public CodeGen_Posix { | |||
std::vector<Type> arg_types, | |||
int flags); | |||
|
|||
int is_hvx_v65_or_later() const { |
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.
@aankit-ca - where is hvx_v66
needed? I dont see any use of anything that is available at v66 but not v65, but I may be mistaken.
I need to do some checking regarding Google's internal usage here -- not sure if we still require support for the earlier clients (in which case we would either need to do some internal patching to maintain the old codepaths, or considering deferring this change.) |
I'm a little concerned that the approach here makes it nonobvious that the baseline is generating... previously, if you just specified
This makes for a more-verbose target string, but it does ensure that the meaning of a given Halide target string doesn't silently change codegen (although it may fail to compile, e.g. if you try to specify v62, but a loud failure is much better than a quiet change to codegen) |
After some internal consultation, it seems likely that Google will want to continue to support v60/v62 codegen in Halide for another year or so. Can you share some detail on the motivation to remove these codegen options? |
The motivation to remove this is maintenance and testing. It is easier to maintain the downstream repository as both our downstream Halide and LLVM have removed support for v62 (fairly old architecture). These are supported on release branches internally. v60 was removed from the upstream Halide repo when Pixel 1 was 3 years old (2019) indicating the end of support for that phone from Google. IIRC pixel 2 or 3 were where v62 first appeared and we reckoned that Google wouldnt have a problem removing support for v62 now. The only problem leaving it here is we many not be able to upgrade upstream buildbots to a newer Hexagon SDK because newer SDKs with newer LLVM toolchains in them will not support v62. But, until we do that, we are fine holding off on this. |
Remove v62 and make v65 as the default isa version for HVX.
@pranavb-ca @steven-johnson