aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/QualifierAlignmentFixer.cpp
diff options
context:
space:
mode:
authorJob Noorman <jnoorman@igalia.com>2023-03-27 16:10:48 +0200
committerJob Noorman <jnoorman@igalia.com>2023-03-27 16:11:14 +0200
commit1d1b3c49531bb80bcd28870d4eafb71d97049e02 (patch)
treeab05dcc53ca7a013929f4f3efd47892000572963 /clang/lib/Format/QualifierAlignmentFixer.cpp
parent636efd2e3508f4a39717cee75c1255a48acb8f4e (diff)
downloadllvm-1d1b3c49531bb80bcd28870d4eafb71d97049e02.zip
llvm-1d1b3c49531bb80bcd28870d4eafb71d97049e02.tar.gz
llvm-1d1b3c49531bb80bcd28870d4eafb71d97049e02.tar.bz2
[RISCV] Remove isCall instruction flag from JAL/JALR
As far as I can tell, the instruction flags set in the various RISCVInstrInfo*.td files are always under-approximations. That is, something like isTerminator will only be set for opcodes that are *always* terminators. The exception seems to be isCall; this is set for JAL/JALR while these instruction are not always calls. This patch proposes to remove isCall from JAL/JALR for consistency. A follow-up patch will add more detailed analysis of some instruction properties based on MCInstrAnalysis. Reviewed By: asb, craig.topper Differential Revision: https://reviews.llvm.org/D146437
Diffstat (limited to 'clang/lib/Format/QualifierAlignmentFixer.cpp')
0 files changed, 0 insertions, 0 deletions