mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 10:21:54 +00:00
Use emitRawComment instead of EmitRawText.
llvm-svn: 200170
This commit is contained in:
parent
ff7cc35a84
commit
7ee6a0aa63
@ -90,10 +90,11 @@ bool AMDGPUAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
OutStreamer.SwitchSection(CommentSection);
|
||||
|
||||
if (STM.getGeneration() > AMDGPUSubtarget::NORTHERN_ISLANDS) {
|
||||
OutStreamer.EmitRawText(
|
||||
Twine("; Kernel info:\n") +
|
||||
"; NumSgprs: " + Twine(KernelInfo.NumSGPR) + "\n" +
|
||||
"; NumVgprs: " + Twine(KernelInfo.NumVGPR) + "\n");
|
||||
OutStreamer.emitRawComment("Kernel info:", false);
|
||||
OutStreamer.emitRawComment("NumSgprs: " + Twine(KernelInfo.NumSGPR),
|
||||
false);
|
||||
OutStreamer.emitRawComment("NumVgprs: " + Twine(KernelInfo.NumVGPR),
|
||||
false);
|
||||
} else {
|
||||
R600MachineFunctionInfo *MFI = MF.getInfo<R600MachineFunctionInfo>();
|
||||
OutStreamer.EmitRawText(
|
||||
|
Loading…
x
Reference in New Issue
Block a user