[PATCH] D103539: WIP: try to repair RISCV handling of paired relocations
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 4 11:04:02 PDT 2021
jrtc27 added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/fixups-relax-diff.ll:19
call void asm sideeffect "a:\0Ab:\0A.dword b-a", ""()
ret i32 0
}
----------------
There's no longer a RUN line for this... also this test makes no sense in the first place, it's trying to use 64-bit relocations on RV32. That should just be an error.
================
Comment at: llvm/test/MC/RISCV/rv64-relax-all.s:12
# RELAX-INSTR: jal zero, 0x0 <NEAR>
c.j NEAR
----------------
Again, no longer used by a RUN line. And this looks like a bug, we're passing --mc-relax-all to the assembler, so this branch should have been relaxed in the branch relaxation sense (which is not the same as the linker relaxation sense), no? GNU as doesn't have --mc-relax-all, comparing against it is meaningless.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103539/new/
https://reviews.llvm.org/D103539
More information about the llvm-commits
mailing list