[PATCH] D108961: [RISCV] MC relaxation for out-of-range conditional branch.
Hsiangkai Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 6 18:42:10 PDT 2021
HsiangKai added a comment.
It is not a new feature for RISC-V. We already have `c.beqz` to `beq`, `c.bnez` to `bne`, `c.j` to `jal`, etc. This patch just extends the relaxation patterns to conditional branches. If MC relaxation is not a good idea, should we remove all the patterns in the `relaxInstruction` target hook?
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