[PATCH] D143361: [RISCV] Support __builtin_nontemporal_load/store by MachineMemOperand
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 29 12:12:50 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVInsertNTLHInsts.cpp:57
+bool RISCVInsertNTLHInsts::runOnMachineFunction(MachineFunction &MF) {
+ TII = static_cast<const RISCVInstrInfo *>(MF.getSubtarget().getInstrInfo());
+ const auto &ST = MF.getSubtarget<RISCVSubtarget>();
----------------
```
const auto &ST = MF.getSubtarget<RISCVSubtarget>();
TII = ST.getInstrInfo();
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143361/new/
https://reviews.llvm.org/D143361
More information about the llvm-commits
mailing list