HomePhabricator

[RegisterCoalescer] Fix an overzealous assert

Authored by qcolombet on Jul 5 2019, 5:34 PM.

Description

[RegisterCoalescer] Fix an overzealous assert

Although removeCopyByCommutingDef deals with full copies, it is still
possible to copy undef lanes and thus, we wouldn't have any a value
number for these lanes.

This fixes PR40215.

llvm-svn: 365256

Details

Committed
qcolombetJul 5 2019, 5:34 PM
Parents
rG705e46f449e6: RegUsageInfoCollector: Skip AMDGPU entry point functions
Branches
Unknown
Tags
Unknown