[Hexagon] Add defaulted operator= to classes with defaulted copy ctor
authorKrzysztof Parzyszek <kparzysz@quicinc.com>
Thu, 18 Aug 2022 20:50:20 +0000 (13:50 -0700)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Thu, 18 Aug 2022 21:00:41 +0000 (14:00 -0700)
commit252cea037bcad6e1e7236756bcbb4e4ed73e328d
tree35acc9e90d3a3f6198d7b8b97fdfad3e00d14f27
parentb8cb1dc9ea87faa8e8e9ab7a31710a8c0bb8b084
[Hexagon] Add defaulted operator= to classes with defaulted copy ctor

This avoids deprecation warning:
```
warning: definition of implicit copy assignment operator for 'AddrInfo'
is deprecated because it has a user-declared copy constructor
[-Wdeprecated-copy]
```

This fixes https://github.com/llvm/llvm-project/issues/57229
llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp