mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-09 21:50:38 +00:00
Use emitRawComment instead of EmitRawText.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200170 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
47030457a5
commit
e881f38db6
@ -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…
Reference in New Issue
Block a user