diff options
author | Dan Gohman <gohman@apple.com> | 2009-11-20 23:18:13 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-11-20 23:18:13 +0000 |
commit | 7a6611793f7c5a98220b02de88e5c6ab97b4c483 (patch) | |
tree | 3187c451ab81010219e8d1e111de55935320e1b9 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp | |
parent | a60463963569b68ba413393bcf056e84fe20e817 (diff) | |
download | bcm5719-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.cpp | 2 |
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(); |