[PATCH] D34889: [ScheduleDAG] Fix bug in check for use of dead defs

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 19 17:42:31 PDT 2017


MatzeB requested changes to this revision.
MatzeB added a comment.
This revision now requires changes to proceed.

Testcase? It seems that your change wants to allow the following:

  vreg4:sub0<def, dead> = ...
  ...
    = use vreg4:sub1

This is not legal! The dead modifier is about the full vreg not just about the sub0 part defined. (`-verify-machineinstrs` should also lead to such inputs getting rejected).


https://reviews.llvm.org/D34889





More information about the llvm-commits mailing list