mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-15 00:48:01 +00:00
Replace another use with hasRawTextSupport+EmitRawText with emitRawComment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200582 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f7af9eac1b
commit
b8f1606076
@ -80,7 +80,7 @@ bool AMDGPUAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
OutStreamer.SwitchSection(getObjFileLowering().getTextSection());
|
||||
EmitFunctionBody();
|
||||
|
||||
if (isVerbose() && OutStreamer.hasRawTextSupport()) {
|
||||
if (isVerbose()) {
|
||||
const MCSectionELF *CommentSection
|
||||
= Context.getELFSection(".AMDGPU.csdata",
|
||||
ELF::SHT_PROGBITS, 0,
|
||||
@ -95,7 +95,7 @@ bool AMDGPUAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
|
||||
false);
|
||||
} else {
|
||||
R600MachineFunctionInfo *MFI = MF.getInfo<R600MachineFunctionInfo>();
|
||||
OutStreamer.EmitRawText(
|
||||
OutStreamer.emitRawComment(
|
||||
Twine("SQ_PGM_RESOURCES:STACK_SIZE = " + Twine(MFI->StackSize)));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user