aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-30 03:49:07 +0000
committerChris Lattner <sabre@nondot.org>2006-01-30 03:49:07 +0000
commit87c890a9c2a8f9818772f3b9e359d301b246e3a4 (patch)
tree0d82a3bbb32141dc5ea50683bad1cbc95f5f88ce
parent030dae5bcec6ba82ccfbf633354d1766ee70b084 (diff)
adjust prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25798 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp3
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp3
-rw-r--r--lib/Target/X86/X86ISelLowering.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/TargetLowering.cpp b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
index b45ad00e59..2ee02ba5df 100644
--- a/lib/CodeGen/SelectionDAG/TargetLowering.cpp
+++ b/lib/CodeGen/SelectionDAG/TargetLowering.cpp
@@ -131,7 +131,8 @@ const char *TargetLowering::getTargetNodeName(unsigned Opcode) const {
}
bool TargetLowering::isMaskedValueZeroForTargetNode(const SDOperand &Op,
- uint64_t Mask) const {
+ uint64_t Mask,
+ MVIZFnPtr MVIZ) const {
return false;
}
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 9503bc13c4..5c4b9f8c71 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -1932,7 +1932,8 @@ const char *X86TargetLowering::getTargetNodeName(unsigned Opcode) const {
}
bool X86TargetLowering::isMaskedValueZeroForTargetNode(const SDOperand &Op,
- uint64_t Mask) const {
+ uint64_t Mask,
+ MVIZFnPtr MVIZ) const {
unsigned Opc = Op.getOpcode();
diff --git a/lib/Target/X86/X86ISelLowering.h b/lib/Target/X86/X86ISelLowering.h
index fc601702d5..99d1442cd4 100644
--- a/lib/Target/X86/X86ISelLowering.h
+++ b/lib/Target/X86/X86ISelLowering.h
@@ -208,7 +208,8 @@ namespace llvm {
/// be zero. Op is expected to be a target specific node. Used by DAG
/// combiner.
virtual bool isMaskedValueZeroForTargetNode(const SDOperand &Op,
- uint64_t Mask) const;
+ uint64_t Mask,
+ MVIZFnPtr MVIZ) const;
SDOperand getReturnAddressFrameIndex(SelectionDAG &DAG);