[llvm] r268994 - [NVPTX] Change begin/end inline asm comments to "begin/end inline asm".
Justin Lebar via llvm-commits
llvm-commits at lists.llvm.org
Mon May 9 17:31:22 PDT 2016
Author: jlebar
Date: Mon May 9 19:31:22 2016
New Revision: 268994
URL: http://llvm.org/viewvc/llvm-project?rev=268994&view=rev
Log:
[NVPTX] Change begin/end inline asm comments to "begin/end inline asm".
Previously it was just "// inline asm", which made it tricky to read
code with lots of inline assembly.
Modified:
llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
Modified: llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp?rev=268994&r1=268993&r2=268994&view=diff
==============================================================================
--- llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp (original)
+++ llvm/trunk/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp Mon May 9 19:31:22 2016
@@ -34,8 +34,8 @@ NVPTXMCAsmInfo::NVPTXMCAsmInfo(const Tri
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.
More information about the llvm-commits
mailing list