HomePhabricator

[RegisterCoalescer] Fix an overzealous assert

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.

Details

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