projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c02c22
)
Use a pointer type rather than MVT::Other for the ExternalSymbol node used
author
Dan Gohman
<gohman@apple.com>
Mon, 4 Jan 2010 21:00:54 +0000
(21:00 +0000)
committer
Dan Gohman
<gohman@apple.com>
Mon, 4 Jan 2010 21:00:54 +0000
(21:00 +0000)
in an inline asm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92512
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 40eb9eeb82a97f607f6c256d308899673d5b79e5..3db2cb5ebcab37ff124fe25853c1936897577555 100644
(file)
--- 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