forked from OSchip/llvm-project
Promote comment to doxycomment. Adjust whitespace. No functionality change.
llvm-svn: 140899
This commit is contained in:
parent
237dceff90
commit
f40df1d46c
|
@ -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) {
|
||||
// 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
|
||||
|
@ -971,7 +971,7 @@ SDValue SelectionDAGBuilder::getValue(const Value *V) {
|
|||
unsigned InReg = It->second;
|
||||
RegsForValue RFV(*DAG.getContext(), TLI, InReg, V->getType());
|
||||
SDValue Chain = DAG.getEntryNode();
|
||||
N = RFV.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(), Chain,NULL);
|
||||
N = RFV.getCopyFromRegs(DAG, FuncInfo, getCurDebugLoc(), Chain, NULL);
|
||||
resolveDanglingDebugInfo(V, 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
|
||||
// corresponding argument.
|
||||
assert(!CS.getType()->isVoidTy() &&
|
||||
"Bad inline asm!");
|
||||
assert(!CS.getType()->isVoidTy() && "Bad inline asm!");
|
||||
if (StructType *STy = dyn_cast<StructType>(CS.getType())) {
|
||||
OpVT = TLI.getValueType(STy->getElementType(ResNo));
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue