]> granicus.if.org Git - llvm/commitdiff
[NVPTX] Change begin/end inline asm comments to "begin/end inline asm".
authorJustin Lebar <jlebar@google.com>
Tue, 10 May 2016 00:31:22 +0000 (00:31 +0000)
committerJustin Lebar <jlebar@google.com>
Tue, 10 May 2016 00:31:22 +0000 (00:31 +0000)
Previously it was just "// inline asm", which made it tricky to read
code with lots of inline assembly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268994 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp

index 8c04db1faf73d0e817658f16296cf423cde4a402..78bdf4e698d8b87e88e1612e6bbc6bebf2aaba96 100644 (file)
@@ -34,8 +34,8 @@ NVPTXMCAsmInfo::NVPTXMCAsmInfo(const Triple &TheTriple) {
 
   HasSingleParameterDotFile = false;
 
-  InlineAsmStart = " inline asm";
-  InlineAsmEnd = " inline asm";
+  InlineAsmStart = " begin inline asm";
+  InlineAsmEnd = " end inline asm";
 
   SupportsDebugInformation = CompileForDebugging;
   // PTX does not allow .align on functions.