aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-09-29 22:25:26 +0000
committerDale Johannesen <dalej@apple.com>2008-09-29 22:25:26 +0000
commit71d1bf55a27017fceef25554e02021a3bc47cdb4 (patch)
treec63ffab6093fb27cf306dd48a99db0083d17f0e8 /lib/CodeGen
parenta43abd102f123f6d3bd9ad92045f8119e3fb6153 (diff)
downloadexternal_llvm-71d1bf55a27017fceef25554e02021a3bc47cdb4.zip
external_llvm-71d1bf55a27017fceef25554e02021a3bc47cdb4.tar.gz
external_llvm-71d1bf55a27017fceef25554e02021a3bc47cdb4.tar.bz2
Remove misuse of ReplaceNodeResults for atomics with
valid types. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56808 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index e8f32db..c3ab368 100644
--- a/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -1261,9 +1261,6 @@ SDValue SelectionDAGLegalize::LegalizeOp(SDValue Op) {
case TargetLowering::Custom:
Result = TLI.LowerOperation(Result, DAG);
break;
- case TargetLowering::Expand:
- Result = SDValue(TLI.ReplaceNodeResults(Op.getNode(), DAG),0);
- break;
case TargetLowering::Legal:
break;
}