[Hexagon] Reapply r239097 with tests corrected for shuffling and duplexing.