mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-01 08:28:19 +00:00
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
f5f090c2c5
commit
2754bdcfdb
@ -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
Block a user