This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Propagate undef flag during pre-RA exec mask optimizations
ClosedPublic

Authored by nhaehnle on Sep 28 2019, 9:40 AM.

Diff Detail

Event Timeline

nhaehnle created this revision.Sep 28 2019, 9:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 28 2019, 9:40 AM
arsenm added inline comments.Sep 28 2019, 10:03 AM
llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
262

I think there’s a getUndef

nhaehnle marked 2 inline comments as done.Oct 2 2019, 4:58 AM
nhaehnle added inline comments.
llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
262

I assume you mean getRegStateUndef.

nhaehnle updated this revision to Diff 222802.Oct 2 2019, 4:58 AM
nhaehnle marked an inline comment as done.

Use getRegStateUndef

arsenm accepted this revision.Oct 4 2019, 3:44 PM

LGTM

This revision is now accepted and ready to land.Oct 4 2019, 3:44 PM
This revision was automatically updated to reflect the committed changes.