[llvm] [BOLT] Pass unfiltered relocations to disassembler. NFCI (PR #131202)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 2 02:55:40 PDT 2025


WangJee wrote:

@maksfb  When I perform instrument bolt optimization on the RISCV64 backend, I get wrong results when performing relocation calculations in the following scenario; however, this problem already existed before this PR was merged

  c9200e: ff6c5597     	auipc	a1, 0xff6c5
  c92012: ff3f5697     	auipc	a3, 0xff3f5
  c92016: bee68693     	addi	a3, a3, -0x412
  c9201a: cdb87057     	vsetivli	zero, 0x10, e64, m8, ta, ma
  c9201e: 0206f407     	vle64.v	v8, (a3)
  c92022: 2ba5b783     	ld	a5, 0x2ba(a1)

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


More information about the llvm-commits mailing list