[all-commits] [llvm/llvm-project] e018e4: [RISCV] move `isFaultFirstLoad` into `RISCVInstrInfo`
Shao-Ce SUN via All-commits
all-commits at lists.llvm.org
Fri Jun 10 06:04:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e018e493c1ac514504bbaa1d1396aec025142a31
https://github.com/llvm/llvm-project/commit/e018e493c1ac514504bbaa1d1396aec025142a31
Author: Shao-Ce SUN <sunshaoce at iscas.ac.cn>
Date: 2022-06-10 (Fri, 10 Jun 2022)
Changed paths:
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
M llvm/lib/Target/RISCV/RISCVMCInstLower.cpp
Log Message:
-----------
[RISCV] move `isFaultFirstLoad` into `RISCVInstrInfo`
Fix build errors in D126794
```
ld.lld: error: undefined symbol: llvm::MachineInstr::getNumExplicitDefs() const
>>> referenced by RISCVBaseInfo.cpp
>>> RISCVBaseInfo.cpp.o:(llvm::isFaultFirstLoad(llvm::MachineInstr const&)) in archive lib/libLLVMRISCVDesc.a
ld.lld: error: undefined symbol: llvm::MachineInstr::findRegisterDefOperandIdx(llvm::Register, bool, bool, llvm::TargetRegisterInfo const*) const
>>> referenced by RISCVBaseInfo.cpp
>>> RISCVBaseInfo.cpp.o:(llvm::isFaultFirstLoad(llvm::MachineInstr const&)) in archive lib/libLLVMRISCVDesc.a
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
```
Reviewed By: fakepaper56
Differential Revision: https://reviews.llvm.org/D127477
More information about the All-commits
mailing list