We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aa60c7 commit c2a5effCopy full SHA for c2a5eff
llvm/lib/Target/Xtensa/XtensaAsmPrinter.cpp
@@ -174,6 +174,10 @@ void XtensaAsmPrinter::emitMachineConstantPoolEntry(
174
// used to print out constants which have been "spilled to memory" by
175
// the code generator.
176
void XtensaAsmPrinter::emitConstantPool() {
177
+ auto *ST = &MF->getSubtarget<XtensaSubtarget>();
178
+ if (ST->useTextSectionLiterals())
179
+ return;
180
+
181
const Function &F = MF->getFunction();
182
const MachineConstantPool *MCP = MF->getConstantPool();
183
const std::vector<MachineConstantPoolEntry> &CP = MCP->getConstants();
0 commit comments