[Hexagon] Save results from partial compound
authorBrian Cain <bcain@quicinc.com>
Mon, 18 Jun 2018 17:25:40 +0000 (12:25 -0500)
committerKrzysztof Parzyszek <kparzysz@quicinc.com>
Thu, 6 Jan 2022 22:08:33 +0000 (14:08 -0800)
commitddf1fb1f133a0f98d604551e3381b2328bed877f
tree17d8eb1597053ea73910c4c65170bc677dcf5bf0
parent42fd68b34457f4d07c052cca6f490054ec2e215c
[Hexagon] Save results from partial compound

Previously compounding was all-or-nothing.  Now, the
compounding attempts will iterate and yield the most
compounds that still result in a valid packet.
lld/test/ELF/hexagon.s
llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp
llvm/test/MC/Hexagon/bug_28748.s [new file with mode: 0644]