Use a pointer type rather than MVT::Other for the ExternalSymbol node used
in an inline asm. llvm-svn: 92512
This commit is contained in:
parent
5d1987f9a0
commit
feeced4104
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue