HomePhabricator

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

Authored by aemerson on Apr 12 2019, 3:05 PM.

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.

llvm-svn: 358314

Details

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