[all-commits] [llvm/llvm-project] d62480: [LoongArch] Use tablegen size for getInstSizeInBytes
Xiaodong Liu via All-commits
all-commits at lists.llvm.org
Fri Dec 2 19:02:56 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d62480c1995b32eea8b9ed5a92829ee5615c4750
https://github.com/llvm/llvm-project/commit/d62480c1995b32eea8b9ed5a92829ee5615c4750
Author: Xiaodong Liu <liuxiaodong at loongson.cn>
Date: 2022-12-03 (Sat, 03 Dec 2022)
Changed paths:
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
A llvm/unittests/Target/LoongArch/CMakeLists.txt
A llvm/unittests/Target/LoongArch/InstSizes.cpp
Log Message:
-----------
[LoongArch] Use tablegen size for getInstSizeInBytes
Correct the pseudo atomic instruction size for branch
relaxation and branch folding passes.
Inspired by D118175, D118009 and D117970.
Depends on D138481
Reviewed By: SixWeining, gonglingqin, xen0n
Differential Revision: https://reviews.llvm.org/D138469
More information about the All-commits
mailing list