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 0b10ac7 commit 510a078Copy full SHA for 510a078
llvm/lib/Target/Xtensa/XtensaAsmPrinter.cpp
@@ -171,6 +171,10 @@ void XtensaAsmPrinter::emitMachineConstantPoolEntry(
171
// used to print out constants which have been "spilled to memory" by
172
// the code generator.
173
void XtensaAsmPrinter::emitConstantPool() {
174
+ auto *ST = &MF->getSubtarget<XtensaSubtarget>();
175
+ if (ST->useTextSectionLiterals())
176
+ return;
177
+
178
const Function &F = MF->getFunction();
179
const MachineConstantPool *MCP = MF->getConstantPool();
180
const std::vector<MachineConstantPoolEntry> &CP = MCP->getConstants();
0 commit comments