Anatoly Trosinenko

Results 15 issues of Anatoly Trosinenko

Make LLD use more appropriate defaults for EraVM target, so that the support introduced in #510 could be used without custom linker script. With the existing semantics of relocations, this...

linker

Currently, there are many custom `if`s involved in printing code and stack operands in [`EraVMInstPrinter.cpp`](https://github.com/matter-labs/era-compiler-llvm/blob/main/llvm/lib/Target/EraVM/MCTargetDesc/EraVMInstPrinter.cpp). Unify * printing code operands and printing stack operands * assembler instructions printing and machine...

enhancement
refactoring

When testing #584 I observed `add` instruction using `sp` as a regular register operand: ``` add r1, r0, sp ``` This was triggered by passing the following input to `llc`:...

Currently, the disassembler does not handle relocations, so only the in-place immediates are decoded (but, as usual, objdump is able to decode and display relocations alongside the instructions if `-r`...

enhancement
backend: disassembler

It was discussed in #483 and #567 that warnings/errors should be printed by default when trying to print/emit a non-canonical form of `nop` (that is, not aliasing to either `incsp`,...

enhancement