This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Don't run mode switches with exec 0
ClosedPublic

Authored by arsenm on Jun 2 2020, 6:21 AM.

Details

Summary

These are scalar instructions that change vector instructions, so they
should not be executed without any active lanes.

The implementation of -amdgpu-skip-threshold also seem to be backwards
from expected, since decreasing it prevents removal.

Diff Detail

Event Timeline

arsenm created this revision.Jun 2 2020, 6:21 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 2 2020, 6:21 AM
rampitec accepted this revision.Jun 2 2020, 10:24 AM
This revision is now accepted and ready to land.Jun 2 2020, 10:24 AM