[ARM] Fix PR32130: Handle promotion of zero sized constants.

Description

[ARM] Fix PR32130: Handle promotion of zero sized constants.

The special case of zero sized values was previously not handled correctly.
This patch handles this by not promoting if the size is zero.

Patch by Tim Neumann.

Differential Revision: https://reviews.llvm.org/D31116

Details

Committed
dambrouskiMon, Mar 20, 3:59 PM
Differential Revision
D31116: [ARM] handle promotion of zero sized constants.
Parents
rL298319
Branches
Unknown
Tags
Unknown