This is an archive of the discontinued LLVM Phabricator instance.

[AMDGCN] Fix overly optimistic GCNUpwardRPTracker
AbandonedPublic

Authored by rampitec on May 10 2017, 8:11 PM.

Details

Reviewers
vpykhtin
Summary
  1. Remove defs when moving past the defining instruction, not right on it. If an instruction defines and uses a register its pressure is actually 2, not 0.
  2. Do not remove tied defs. If def is a tied operand it is not really a new def, just a redefinition.

Diff Detail

Repository
rL LLVM

Event Timeline

rampitec created this revision.May 10 2017, 8:11 PM
rampitec abandoned this revision.May 19 2017, 2:25 AM

Widthraw the revision in favor of D33289.