Skip to content
  • Dan Gohman's avatar
    When checking whether a def of an aliased register is dead, ask the · 9aba0d99
    Dan Gohman authored
    machineinstr whether the aliased register is dead, rather than the original
    register is dead. This allows it to get the correct answer when examining
    an instruction like this:
      CALLpcrel32 <ga:foo>, %AL<imp-def>, %EAX<imp-def,dead>
    where EAX is dead but a subregister of it is still live. This fixes PR5294.
    
    llvm-svn: 85135
    9aba0d99
Loading