PowerPC uses ; as a comment leader and the @ as a separator character.
Support this properly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316454
91177308-0d34-0410-b5e6-
96231b3b80d8
}
IsLittleEndian = false;
+ SeparatorString = "@";
CommentString = ";";
ExceptionsType = ExceptionHandling::DwarfCFI;
--- /dev/null
+; RUN: llvm-mc -triple powerpc-apple-darwin -show-encoding -o - %s | FileCheck %s
+; RUN: llvm-mc -triple powerpc64-apple-darwin -show-encoding -o - %s | FileCheck %s
+
+_label:
+ li r0, 0 @ li r1, 1
+
+; CHECK: _label:
+; CHECK: li r0, 0 ; encoding
+; CHECK: li r1, 1 ; encoding
+