mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-10-06 14:57:41 +00:00
Promote comment to doxycomment. Adjust whitespace. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140899 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c8e2bb68bb
commit
8de34006cf
@ -956,7 +956,7 @@ void SelectionDAGBuilder::resolveDanglingDebugInfo(const Value *V,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// getValue - Return an SDValue for the given Value.
|
/// getValue - Return an SDValue for the given Value.
|
||||||
SDValue SelectionDAGBuilder::getValue(const Value *V) {
|
SDValue SelectionDAGBuilder::getValue(const Value *V) {
|
||||||
// If we already have an SDValue for this value, use it. It's important
|
// If we already have an SDValue for this value, use it. It's important
|
||||||
// to do this first, so that we don't create a CopyFromReg if we already
|
// to do this first, so that we don't create a CopyFromReg if we already
|
||||||
@ -971,7 +971,7 @@ SDValue SelectionDAGBuilder::getValue(const Value *V) {
|
|||||||
unsigned InReg = It->second;
|
unsigned InReg = It->second;
|
||||||
RegsForValue RFV(*DAG.getContext(), TLI, InReg, V->getType());
|
RegsForValue RFV(*DAG.getContext(), TLI, InReg, V->getType());
|
||||||
SDValue Chain = DAG.getEntryNode();
|
SDValue Chain = DAG.getEntryNode();
|
||||||
N = RFV.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(), Chain,NULL);
|
N = RFV.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(), Chain, NULL);
|
||||||
resolveDanglingDebugInfo(V, N);
|
resolveDanglingDebugInfo(V, N);
|
||||||
return N;
|
return N;
|
||||||
}
|
}
|
||||||
@ -5890,8 +5890,7 @@ void SelectionDAGBuilder::visitInlineAsm(ImmutableCallSite CS) {
|
|||||||
|
|
||||||
// The return value of the call is this value. As such, there is no
|
// The return value of the call is this value. As such, there is no
|
||||||
// corresponding argument.
|
// corresponding argument.
|
||||||
assert(!CS.getType()->isVoidTy() &&
|
assert(!CS.getType()->isVoidTy() && "Bad inline asm!");
|
||||||
"Bad inline asm!");
|
|
||||||
if (StructType *STy = dyn_cast<StructType>(CS.getType())) {
|
if (StructType *STy = dyn_cast<StructType>(CS.getType())) {
|
||||||
OpVT = TLI.getValueType(STy->getElementType(ResNo));
|
OpVT = TLI.getValueType(STy->getElementType(ResNo));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user