forked from OSchip/llvm-project
e2f6290e06
ScalarizationResult's destructor makes sure ToFreeze is not ignored if set. Currently, scalarizeLoadExtract has an early exit if the index is not safe directly. But when it is SafeWithFreeze, we need to discard the state first, otherwise we hit the assert in the destructor. Fixes PR51992. |
||
---|---|---|
.. | ||
AArch64 | ||
AMDGPU | ||
Hexagon | ||
X86 | ||
load-insert-store.ll |