See https://github.com/stfc/PSyclone/pull/3389#pullrequestreview-4038078159
See #3389 (review)