[MachineInstrBundle] Improvement the recognition of dead definitions.
authorQuentin Colombet <qcolombet@apple.com>
Tue, 26 Apr 2016 23:14:24 +0000 (23:14 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Tue, 26 Apr 2016 23:14:24 +0000 (23:14 +0000)
commit3f192450151f4ed9eb656037193651781adf7d41
tree95027b150ccd86a0c121a3f1e932196483d534bb
parent053c2a6f25e48132d8f66bd73f3575da47cfde88
[MachineInstrBundle] Improvement the recognition of dead definitions.

Now, it is possible to know that partial definitions are dead definitions and
recognize that clobbered registers are also dead.

llvm-svn: 267621
llvm/include/llvm/CodeGen/MachineInstrBundle.h
llvm/lib/CodeGen/MachineInstrBundle.cpp
llvm/test/CodeGen/X86/cmpxchg-clobber-flags.ll