diff options
author | Dan Gohman <gohman@apple.com> | 2010-01-04 21:00:54 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-01-04 21:00:54 +0000 |
commit | 5a7d25d7dab282dfc0a9ac2d7c8eda3a7e5deab2 (patch) | |
tree | a07bdc50e24040cd3466c5d5a9c5700ff5e3e996 /lib | |
parent | 52415eb1cd70ec2a761c363b205ee8b96d793ac8 (diff) | |
download | external_llvm-5a7d25d7dab282dfc0a9ac2d7c8eda3a7e5deab2.zip external_llvm-5a7d25d7dab282dfc0a9ac2d7c8eda3a7e5deab2.tar.gz external_llvm-5a7d25d7dab282dfc0a9ac2d7c8eda3a7e5deab2.tar.bz2 |
Use a pointer type rather than MVT::Other for the ExternalSymbol node used
in an inline asm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 40eb9ee..3db2cb5 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -6068,7 +6068,8 @@ void SelectionDAGBuilder::visitInlineAsm(CallSite CS) { std::vector<SDValue> AsmNodeOperands; AsmNodeOperands.push_back(SDValue()); // reserve space for input chain AsmNodeOperands.push_back( - DAG.getTargetExternalSymbol(IA->getAsmString().c_str(), MVT::Other)); + DAG.getTargetExternalSymbol(IA->getAsmString().c_str(), + TLI.getPointerTy())); // Loop over all of the inputs, copying the operand values into the |