HomePhabricator

[CodeGen] Add an alignment attribute to all sret parameters

Authored by erik.pilkington on Mar 24 2020, 9:36 AM.

Description

[CodeGen] Add an alignment attribute to all sret parameters

This fixes a miscompile when the parameter is actually underaligned.
rdar://58316406

Differential revision: https://reviews.llvm.org/D74183