From 9f9e951090b002e55e39b0651416a3113b8b9f7b Mon Sep 17 00:00:00 2001 From: Justin Lebar Date: Tue, 10 May 2016 00:31:22 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268994 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp b/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp index 8c04db1faf7..78bdf4e698d 100644 --- a/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp +++ b/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp @@ -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. -- 2.50.1