This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Replace disabled exp inputs with undef
ClosedPublic

Authored by arsenm on Feb 6 2017, 8:05 AM.

Details

Diff Detail

Event Timeline

arsenm created this revision.Feb 6 2017, 8:05 AM
mareko added a subscriber: mareko.Feb 13 2017, 2:47 PM
mareko added inline comments.
lib/Transforms/InstCombine/InstCombineCalls.cpp
3223

If IsCompr == true, EnBits contains 0x3 if the 1st channel is exported, 0xc if the second channel is exported, and 0xf if the first 2 channels are exported.

arsenm updated this revision to Diff 89398.Feb 22 2017, 12:13 PM

Check full mask

LGTM, but maybe there should be parentheses around "2 * I".

arsenm accepted this revision.Feb 22 2017, 4:56 PM

r295914

This revision is now accepted and ready to land.Feb 22 2017, 4:56 PM
arsenm closed this revision.Feb 22 2017, 4:56 PM