[all-commits] [llvm/llvm-project] 690085: [RISCV] Store/restore RISCVMachineFunctionInfo int...
Kito Cheng via All-commits
all-commits at lists.llvm.org
Thu Apr 7 20:56:03 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 690085c9b715af720ecbd1c009731ba5478cf493
https://github.com/llvm/llvm-project/commit/690085c9b715af720ecbd1c009731ba5478cf493
Author: Kito Cheng <kito.cheng at sifive.com>
Date: 2022-04-08 (Fri, 08 Apr 2022)
Changed paths:
M llvm/lib/Target/RISCV/CMakeLists.txt
A llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.cpp
M llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
M llvm/lib/Target/RISCV/RISCVTargetMachine.h
A llvm/test/CodeGen/MIR/RISCV/machine-function-info.mir
Log Message:
-----------
[RISCV] Store/restore RISCVMachineFunctionInfo into MIR YAML file
RISCVMachineFunctionInfo has some fields like VarArgsFrameIndex and
VarArgsSaveSize are calculated at ISel lowering stage, those info are
not contained in MIR files, that cause test cases rely on those field
can't not reproduce correctly by MIR dump files.
This patch adding the MIR read/write for those fields.
Reviewed By: frasercrmck
Differential Revision: https://reviews.llvm.org/D123178
More information about the All-commits
mailing list