aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2010-11-13 19:54:23 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2010-11-13 19:54:23 +0000
commit983611836cd1edec8d1b8032e0539b6ed80461d6 (patch)
tree5fde3435206684d27b7a49fe1705aa349638a7ae /lib
parent096aa79276b8527a3cbbb3691e40e729dea09523 (diff)
downloadexternal_llvm-983611836cd1edec8d1b8032e0539b6ed80461d6.zip
external_llvm-983611836cd1edec8d1b8032e0539b6ed80461d6.tar.gz
external_llvm-983611836cd1edec8d1b8032e0539b6ed80461d6.tar.bz2
Support ; as asm separator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119006 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 495baca..c82254c 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -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;