diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-05-12 00:56:58 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-05-12 00:56:58 +0000 |
commit | cbc988be22bc9411d95215c8b7251b5f85710674 (patch) | |
tree | ae5cd0c28246db683604531890b7226d77b8633c /include/llvm/CodeGen | |
parent | aeee4616dd12d58fd8d040ab00277747f0312321 (diff) | |
download | external_llvm-cbc988be22bc9411d95215c8b7251b5f85710674.zip external_llvm-cbc988be22bc9411d95215c8b7251b5f85710674.tar.gz external_llvm-cbc988be22bc9411d95215c8b7251b5f85710674.tar.bz2 |
Re-commit 131172 with fix. MachineInstr identity checks should check dead
markers. In some cases a register def is dead on one path, but not on
another.
This is passing Clang self-hosting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131214 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r-- | include/llvm/CodeGen/MachineInstr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h index 2724689..c36dd69 100644 --- a/include/llvm/CodeGen/MachineInstr.h +++ b/include/llvm/CodeGen/MachineInstr.h @@ -229,6 +229,7 @@ public: enum MICheckType { CheckDefs, // Check all operands for equality + CheckKillDead, // Check all operands including kill / dead markers IgnoreDefs, // Ignore all definitions IgnoreVRegDefs // Ignore virtual register definitions }; |