[inline asm] Return an undef SDValue of the expected value type, rather than

report a fatal error.  This allows us to continue processing the translation
unit.  Test case to come on the clang side because we need an inline asm
diagnostics handler in place.
rdar://13446483

llvm-svn: 180873
This commit is contained in:
Chad Rosier 2013-05-01 19:49:26 +00:00
parent 6e1f5b7d1a
commit 8e4824f350
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ static SDValue getCopyFromPartsVector(SelectionDAG &DAG, DebugLoc DL,
} else {
Ctx.emitError(ErrMsg);
}
report_fatal_error("Cannot handle scalar-to-vector conversion!");
return DAG.getUNDEF(ValueVT);
}
if (ValueVT.getVectorNumElements() == 1 &&