[llvm] 2e78abe - [MSP430] Delete unneeded fixupNeedsRelaxationAdvanced
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 16 16:37:25 PDT 2025
Author: Fangrui Song
Date: 2025-03-16T16:37:21-07:00
New Revision: 2e78abe788c55721033d38a408d8f34af20bc8cc
URL: https://github.com/llvm/llvm-project/commit/2e78abe788c55721033d38a408d8f34af20bc8cc
DIFF: https://github.com/llvm/llvm-project/commit/2e78abe788c55721033d38a408d8f34af20bc8cc.diff
LOG: [MSP430] Delete unneeded fixupNeedsRelaxationAdvanced
Added:
Modified:
llvm/lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
index 9f73472ebfe81..298300962b905 100644
--- a/llvm/lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
+++ b/llvm/lib/Target/MSP430/MCTargetDesc/MSP430AsmBackend.cpp
@@ -46,14 +46,6 @@ class MSP430AsmBackend : public MCAsmBackend {
return createMSP430ELFObjectWriter(OSABI);
}
- bool fixupNeedsRelaxationAdvanced(const MCAssembler &Asm,
- const MCFixup &Fixup, bool Resolved,
- uint64_t Value,
- const MCRelaxableFragment *DF,
- const bool WasForced) const override {
- return false;
- }
-
unsigned getNumFixupKinds() const override {
return MSP430::NumTargetFixupKinds;
}
More information about the llvm-commits
mailing list