[llvm] [RISCV] Don't delete all fixups in RISCVMCCodeEmitter::expandLongCondBr. (PR #109513)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 20 23:06:56 PDT 2024
================
@@ -283,13 +283,18 @@ void RISCVMCCodeEmitter::expandLongCondBr(const MCInst &MI,
Offset = 4;
}
+ // Save the number fixups.
+ size_t N = Fixups.size();
----------------
MaskRay wrote:
Perhaps `FixupStartIndex` to be similar to MCELFStreamer.cpp:550
https://github.com/llvm/llvm-project/pull/109513
More information about the llvm-commits
mailing list