[all-commits] [llvm/llvm-project] 4acae5: [RISCV] Remove is*Branch instruction flags from C_JR
Job Noorman via All-commits
all-commits at lists.llvm.org
Tue Apr 11 00:28:53 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4acae5b2ade5f313e06ddfdf7ab70385ac79dd0e
https://github.com/llvm/llvm-project/commit/4acae5b2ade5f313e06ddfdf7ab70385ac79dd0e
Author: Job Noorman <jnoorman at igalia.com>
Date: 2023-04-11 (Tue, 11 Apr 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVInstrInfoC.td
Log Message:
-----------
[RISCV] Remove is*Branch instruction flags from C_JR
As discussed in 1d1b3c49531b, instruction flags set in the *.td files
are under-approximations. For C_JR, isBranch and isConditionalBranch are
set even though it is used for for returns which are not considered
branches.
This patch proposes to remove those flags from C_JR. More detailed
analysis can be implemented in RISCVMCInstrAnalysis.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D147784
More information about the All-commits
mailing list