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 100a1d0 commit b6414b5Copy full SHA for b6414b5
llvm/lib/Target/Xtensa/XtensaISelDAGToDAG.cpp
@@ -59,10 +59,9 @@ class XtensaDAGToDAGISel : public SelectionDAGISel {
59
}
60
61
if (TM.isPositionIndependent()) {
62
- DiagnosticInfoUnsupported Diag(CurDAG->getMachineFunction().getFunction(),
63
- "PIC relocations are not supported ",
64
- Addr.getDebugLoc());
65
- CurDAG->getContext()->diagnose(Diag);
+ CurDAG->getContext()->diagnose(DiagnosticInfoUnsupported(
+ CurDAG->getMachineFunction().getFunction(),
+ "PIC relocations are not supported", Addr.getDebugLoc()));
66
67
68
if ((Addr.getOpcode() == ISD::TargetExternalSymbol ||
0 commit comments