[llvm] [SPARC][IAS] Emit the correct 32-bit ELF machine type (PR #96583)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 2 06:56:15 PDT 2024
================
@@ -131,15 +131,16 @@ static unsigned getFixupKindNumBytes(unsigned Kind) {
namespace {
class SparcAsmBackend : public MCAsmBackend {
protected:
- const Target &TheTarget;
bool Is64Bit;
+ bool HasV9;
public:
- SparcAsmBackend(const Target &T)
- : MCAsmBackend(StringRef(T.getName()) == "sparcel"
+ SparcAsmBackend(const Target &T, const MCSubtargetInfo &STI)
----------------
koachan wrote:
Removed, but I guess the one in `createSparcAsmBackend` should be left as it is?
`RegisterMCAsmBackend` seems to require a Target parameter present in there...
https://github.com/llvm/llvm-project/pull/96583
More information about the llvm-commits
mailing list