summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-04-24 14:06:20 +0000
committerTim Northover <tnorthover@apple.com>2014-04-24 14:06:20 +0000
commit6331d4b9752b4794bf73d5530e539a958d335c33 (patch)
treeb6fa0b1eef654c73234b1e680a69c31728a24cdc /llvm/lib
parentf4a36999ad34369fdc267fdf03db62645b16d0ef (diff)
downloadbcm5719-llvm-6331d4b9752b4794bf73d5530e539a958d335c33.tar.gz
bcm5719-llvm-6331d4b9752b4794bf73d5530e539a958d335c33.zip
AArch64: print NEON lists with a space.
This matches ARM64 behaviour, which I think is clearer. It also puts all the churn from that difference into one easily ignored commit. llvm-svn: 207116
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp b/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
index c4f2c1ab756..032120771ad 100644
--- a/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
+++ b/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp
@@ -520,7 +520,7 @@ void AArch64InstPrinter::printVectorList(const MCInst *MI, unsigned OpNum,
unsigned Reg = MI->getOperand(OpNum).getReg();
std::string LayoutStr = A64VectorLayoutToString(Layout);
- O << "{";
+ O << "{ ";
if (Count > 1) { // Print sub registers separately
bool IsVec64 = (Layout < A64Layout::VL_16B);
unsigned SubRegIdx = IsVec64 ? AArch64::dsub_0 : AArch64::qsub_0;
@@ -536,5 +536,5 @@ void AArch64InstPrinter::printVectorList(const MCInst *MI, unsigned OpNum,
Name[0] = 'v';
O << Name << LayoutStr;
}
- O << "}";
+ O << " }";
}
OpenPOWER on IntegriCloud