aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/Alpha/AlphaISelPattern.cpp3
-rw-r--r--lib/Target/IA64/IA64ISelPattern.cpp3
-rw-r--r--lib/Target/X86/X86ISelPattern.cpp3
3 files changed, 3 insertions, 6 deletions
diff --git a/lib/Target/Alpha/AlphaISelPattern.cpp b/lib/Target/Alpha/AlphaISelPattern.cpp
index abf9934f56..1965f7602a 100644
--- a/lib/Target/Alpha/AlphaISelPattern.cpp
+++ b/lib/Target/Alpha/AlphaISelPattern.cpp
@@ -1543,8 +1543,7 @@ void ISel::Select(SDOperand N) {
unsigned Tmp1, Tmp2, Opc;
unsigned opcode = N.getOpcode();
- // FIXME: Disable for our current expansion model!
- if (/*!N->hasOneUse() &&*/ !ExprMap.insert(std::make_pair(N, notIn)).second)
+ if (!ExprMap.insert(std::make_pair(N, notIn)).second)
return; // Already selected.
SDNode *Node = N.Val;
diff --git a/lib/Target/IA64/IA64ISelPattern.cpp b/lib/Target/IA64/IA64ISelPattern.cpp
index bbe1aba74b..ff7166eb07 100644
--- a/lib/Target/IA64/IA64ISelPattern.cpp
+++ b/lib/Target/IA64/IA64ISelPattern.cpp
@@ -1416,8 +1416,7 @@ void ISel::Select(SDOperand N) {
unsigned Tmp1, Tmp2, Opc;
unsigned opcode = N.getOpcode();
- // FIXME: Disable for our current expansion model!
- if (/*!N->hasOneUse() &&*/ !LoweredTokens.insert(N).second)
+ if (!LoweredTokens.insert(N).second)
return; // Already selected.
SDNode *Node = N.Val;
diff --git a/lib/Target/X86/X86ISelPattern.cpp b/lib/Target/X86/X86ISelPattern.cpp
index 4ae21305b7..2e5f91007c 100644
--- a/lib/Target/X86/X86ISelPattern.cpp
+++ b/lib/Target/X86/X86ISelPattern.cpp
@@ -2723,8 +2723,7 @@ bool ISel::TryToFoldLoadOpStore(SDNode *Node) {
void ISel::Select(SDOperand N) {
unsigned Tmp1, Tmp2, Opc;
- // FIXME: Disable for our current expansion model!
- if (/*!N->hasOneUse() &&*/ !ExprMap.insert(std::make_pair(N, 1)).second)
+ if (!ExprMap.insert(std::make_pair(N, 1)).second)
return; // Already selected.
SDNode *Node = N.Val;