HomePhabricator

[GlobalISel] Fix a crash when handling an invalid MVT during call lowering.

Description

[GlobalISel] Fix a crash when handling an invalid MVT during call lowering.

This crash was introduced in r358032 as we try to construct an EVT from an MVT
in order to find the register type for the calling conv. Fall back instead of
trying to do this with an invalid MVT coming from i256.

Details

Committed
aemersonApr 12 2019, 3:05 PM
Parents
rL358313: [MemorySSA] Add previous def to cache when found, even if trivial.
Branches
Unknown
Tags
Unknown