HomePhabricator

[CodeGen] Fix a crash when updating a designated initializer

Authored by erik.pilkington on Nov 2 2018, 10:36 AM.

Description

[CodeGen] Fix a crash when updating a designated initializer

We need to handle the ConstantAggregateZero case here too.

rdar://45691981

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

llvm-svn: 346004