[llvm] [AVR] Force relocations for non-encodable jumps (PR #121498)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 21:11:14 PST 2025


================
@@ -164,7 +160,7 @@ static void fixup_6(const MCFixup &Fixup, uint64_t &Value, MCContext *Ctx) {
 /// 0000 0000 kk00 kkkk
 static void fixup_6_adiw(const MCFixup &Fixup, uint64_t &Value,
                          MCContext *Ctx) {
-  unsigned_width(6, Value, std::string("immediate"), Fixup, Ctx);
+  checkUnsignedWidth(6, Value, std::string("immediate"), Fixup, Ctx);
----------------
arsenm wrote:

No std::string throughout 

https://github.com/llvm/llvm-project/pull/121498


More information about the llvm-commits mailing list