KILL instructions are sometimes present and prevented hard
clauses from being formed.
Fix this by ignoring all meta instructions in clauses.
Differential D106042
[AMDGPU] Ignore KILLs when forming clauses sebastian-ne on Jul 15 2021, 12:31 AM. Authored by
Details
KILL instructions are sometimes present and prevented hard Fix this by ignoring all meta instructions in clauses.
Diff Detail
Unit Tests Event Timeline
Comment Actions Thanks for the review. You’re right about the too large clauses.
Comment Actions I think this looks fine, thanks. A possible alternative approach would be to put something like this at the start of emitClause: while (getHardClauseType(CI.Last) == HARDCLAUSE_INTERNAL) --CI.Last;
Comment Actions Fix review comments
|
I don't see a reason to emit a comment for these. Kills for example already have a comment for them