Support ; as asm separator

llvm-svn: 119006
This commit is contained in:
Peter Collingbourne 2010-11-13 19:54:23 +00:00
parent 72ebdabc5d
commit 1c6437a62a
1 changed files with 1 additions and 1 deletions

View File

@ -11410,7 +11410,7 @@ bool X86TargetLowering::ExpandInlineAsm(CallInst *CI) const {
// TODO: should remove alternatives from the asmstring: "foo {a|b}" -> "foo a"
SmallVector<StringRef, 4> AsmPieces;
SplitString(AsmStr, AsmPieces, "\n"); // ; as separator?
SplitString(AsmStr, AsmPieces, ";\n");
switch (AsmPieces.size()) {
default: return false;