[PATCH] D108961: [RISCV] MC relaxation for out-of-range conditional branch.

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 16 07:40:29 PDT 2021


StephenFan added a comment.

I found some pseudo instruction are expanded to multiple MI instructions in `RISCVExpandPseudoInsts.cpp`. And the BranchRelaxation pass will run before the expandPseudo pass. Is it possible to cause the fixup value out-of-range on some branch instructions? If this will happen, maybe add MC layer branch relaxation can deal with it.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108961/new/

https://reviews.llvm.org/D108961



More information about the llvm-commits mailing list