[all-commits] [llvm/llvm-project] dc925b: [BOLT][RISCV] Carry-over annotations when fixing c...
Job Noorman via All-commits
all-commits at lists.llvm.org
Wed Sep 20 23:38:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dc925be68b2fb214a30cce86b312f469bdb313b0
https://github.com/llvm/llvm-project/commit/dc925be68b2fb214a30cce86b312f469bdb313b0
Author: Job Noorman <jnoorman at igalia.com>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
M bolt/include/bolt/Core/MCPlusBuilder.h
M bolt/lib/Passes/FixRISCVCallsPass.cpp
A bolt/test/RISCV/call-annotations.s
Log Message:
-----------
[BOLT][RISCV] Carry-over annotations when fixing calls (#66763)
`FixRISCVCallsPass` changes all different forms of calls to `PseudoCALL`
instructions. However, the original call's annotations were lost in the
process.
This patch fixes this by moving all annotations from the old to the new
call. `MCPlusBuilder::moveAnnotations` had to be made public for this.
More information about the All-commits
mailing list