summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-21 07:32:19 +0000
committerChris Lattner <sabre@nondot.org>2010-09-21 07:32:19 +0000
commita35499e2aff21be8661081038abf00a4c3f63c4d (patch)
treebab4f7a2184a66cc1a4fb42198ffd23fcd867e5c /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
parent7727d05dbbdd6e7bb8d89c0c5d63b460466171b4 (diff)
downloadbcm5719-llvm-a35499e2aff21be8661081038abf00a4c3f63c4d.tar.gz
bcm5719-llvm-a35499e2aff21be8661081038abf00a4c3f63c4d.zip
a few more trivial updates. This fixes PerformInsertVectorEltInMemory to not
pass a completely incorrect SrcValue, which would result in a miscompile with combiner-aa. llvm-svn: 114411
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
index 91e370b2719..6fad96b418d 100644
--- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
@@ -6769,7 +6769,7 @@ SDValue DAGCombiner::SimplifySelectCC(DebugLoc DL, SDValue N0, SDValue N1,
CPIdx = DAG.getNode(ISD::ADD, DL, TLI.getPointerTy(), CPIdx,
CstOffset);
return DAG.getLoad(TV->getValueType(0), DL, DAG.getEntryNode(), CPIdx,
- PseudoSourceValue::getConstantPool(), 0, false,
+ MachinePointerInfo::getConstantPool(), false,
false, Alignment);
}
OpenPOWER on IntegriCloud