[llvm] [BOLT][RISCV] Carry-over annotations when fixing calls (PR #66763)
Job Noorman via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 19 06:09:58 PDT 2023
================
@@ -39,8 +41,19 @@ void FixRISCVCallsPass::runOnFunction(BinaryFunction &BF) {
auto *Target = MIB->getTargetSymbol(*II);
assert(Target && "Cannot find call target");
+ auto OldCall = *NextII;
----------------
mtvec wrote:
Interesting, up to now my BOLT contributions have been using `auto` heavily. Is this policy written down somewhere or could you explain when `auto` is considered ok to use?
https://github.com/llvm/llvm-project/pull/66763
More information about the llvm-commits
mailing list