summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineInstr.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-05-12 00:56:58 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-05-12 00:56:58 +0000
commitcbc988be22bc9411d95215c8b7251b5f85710674 (patch)
treeae5cd0c28246db683604531890b7226d77b8633c /include/llvm/CodeGen/MachineInstr.h
parentaeee4616dd12d58fd8d040ab00277747f0312321 (diff)
downloadllvm-cbc988be22bc9411d95215c8b7251b5f85710674.tar.gz
llvm-cbc988be22bc9411d95215c8b7251b5f85710674.tar.bz2
llvm-cbc988be22bc9411d95215c8b7251b5f85710674.tar.xz
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/MachineInstr.h')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index 2724689786..c36dd69e2d 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
};