summaryrefslogtreecommitdiffstats
path: root/llvm/include
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
commitcfdf33904b4ed64a1d6e75d456908f815df18885 (patch)
tree72a8b44706a15752b3145c4ff01730ebf4668c9e /llvm/include
parentad7372c5382cb37ce9f289d706ce6ba25c71262e (diff)
downloadbcm5719-llvm-cfdf33904b4ed64a1d6e75d456908f815df18885.tar.gz
bcm5719-llvm-cfdf33904b4ed64a1d6e75d456908f815df18885.zip
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. llvm-svn: 131214
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/MachineInstr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm/CodeGen/MachineInstr.h b/llvm/include/llvm/CodeGen/MachineInstr.h
index 2724689786e..c36dd69e2d9 100644
--- a/llvm/include/llvm/CodeGen/MachineInstr.h
+++ b/llvm/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
};
OpenPOWER on IntegriCloud