[llvm] r315535 - Fix AMDGPU build issue
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 11 16:53:36 PDT 2017
Author: rnk
Date: Wed Oct 11 16:53:36 2017
New Revision: 315535
URL: http://llvm.org/viewvc/llvm-project?rev=315535&view=rev
Log:
Fix AMDGPU build issue
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp?rev=315535&r1=315534&r2=315535&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp Wed Oct 11 16:53:36 2017
@@ -230,7 +230,7 @@ void AMDGPUAsmPrinter::EmitInstruction(c
const MCSymbolRefExpr *Expr
= MCSymbolRefExpr::create(MBB->getSymbol(), OutContext);
Expr->print(Str, MAI);
- OutStreamer->emitRawComment(" mask branch " + BBStr);
+ OutStreamer->emitRawComment(Twine(" mask branch ") + BBStr);
}
return;
More information about the llvm-commits
mailing list