Support ; as asm separator
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.cpp
index 495baca78ec20da153cb348aab504ecde936d639..c82254ca9fb38803c9e17a4acb74126a897a0e4e 100644 (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;