This is an archive of the discontinued LLVM Phabricator instance.

AMDGPU: Remove leftover implicit operands when folding immediates
ClosedPublic

Authored by arsenm on Sep 30 2016, 5:44 PM.

Details

Reviewers
tstellarAMD
Summary

When constant folding an operation to a copy or an immediate
mov, the implicit uses/defs of the old instruction were left behind,
e.g. replacing v_or_b32 left the implicit exec use on the new copy.

Diff Detail

Event Timeline

arsenm updated this revision to Diff 73176.Sep 30 2016, 5:44 PM
arsenm retitled this revision from to AMDGPU: Remove leftover implicit operands when folding immediates.
arsenm updated this object.
arsenm added a reviewer: tstellarAMD.
arsenm added a subscriber: llvm-commits.
tstellarAMD accepted this revision.Oct 4 2016, 1:55 PM
tstellarAMD edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Oct 4 2016, 1:55 PM
arsenm closed this revision.Oct 6 2016, 11:22 AM

r283471