diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-09-14 15:53:18 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-09-14 17:07:21 -0700 |
commit | 5888c157a74b052f227b19d15dbb913cc0232f57 (patch) | |
tree | 6cbc915ad74b70bafc02c8b86ba5af7af1b0ab68 /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 8273ca1421a6144286698a61b41cd8901c131850 (diff) | |
download | llvm-5888c157a74b052f227b19d15dbb913cc0232f57.zip llvm-5888c157a74b052f227b19d15dbb913cc0232f57.tar.gz llvm-5888c157a74b052f227b19d15dbb913cc0232f57.tar.bz2 |
[RISCV] Simplify some code in RISCVInstrInfo::verifyInstruction. NFCI
This code was written as if it lived in the MC layer instead of
the CodeGen layer. We get the MCInstrDesc directly from MachineInstr.
And we can use RISCVSubtarget::is64Bit instead of going to the
Triple.
Differential Revision: https://reviews.llvm.org/D133905
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions