Don't add <imp-def> operands during register rewriting.

LiveIntervals already adds <imp-def> operands for super-registers when a subreg
def defines the whole register. Thus, it is not necessary to do it again when
rewriting.

In fact, the super-register imp-defs caused miscompilations because the late
scheduler couldn't see that the super-register was read.

We still add super-reg <imp-use,kill> operands when rewriting virtuals to
physicals.

llvm-svn: 113299
1 file changed
tree: 833664a5dd178040329d46305c9b371dbad7c870
  1. clang/
  2. compiler-rt/
  3. libcxx/
  4. lldb/
  5. llvm/