summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-11-20 23:18:13 +0000
committerDan Gohman <gohman@apple.com>2009-11-20 23:18:13 +0000
commit7a6611793f7c5a98220b02de88e5c6ab97b4c483 (patch)
tree3187c451ab81010219e8d1e111de55935320e1b9 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
parenta60463963569b68ba413393bcf056e84fe20e817 (diff)
downloadbcm5719-llvm-7a6611793f7c5a98220b02de88e5c6ab97b4c483.tar.gz
bcm5719-llvm-7a6611793f7c5a98220b02de88e5c6ab97b4c483.zip
Target-independent support for TargetFlags on BlockAddress operands,
and support for blockaddresses in x86-32 PIC mode. llvm-svn: 89506
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
index 90fd95eb635..f953a74d9d2 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp
@@ -884,7 +884,7 @@ SDValue SelectionDAGLowering::getValue(const Value *V) {
}
if (BlockAddress *BA = dyn_cast<BlockAddress>(C))
- return DAG.getBlockAddress(BA, getCurDebugLoc());
+ return DAG.getBlockAddress(BA, VT);
const VectorType *VecTy = cast<VectorType>(V->getType());
unsigned NumElements = VecTy->getNumElements();
OpenPOWER on IntegriCloud