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 b6a9618 commit a07b374Copy full SHA for a07b374
llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp
@@ -51,7 +51,7 @@ bool LoongArchMCExpr::evaluateAsRelocatableImpl(
51
52
Res.setSpecifier(specifier);
53
// Custom fixup types are not valid with symbol difference expressions.
54
- return Res.getSymB() ? specifier == VK_None : true;
+ return !Res.getSubSym();
55
}
56
57
void LoongArchMCExpr::visitUsedExpr(MCStreamer &Streamer) const {
0 commit comments