[PATCH] D93849: [RISCV] Define vmclr.m/vmset.m intrinsics.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 27 23:12:48 PST 2020


craig.topper added a comment.

LGTM with that change.



================
Comment at: llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp:238
+  MachineInstr &MI = *MBBI;
+  DebugLoc DL = MI.getDebugLoc();
+  Register DstReg = MBBI->getOperand(0).getReg();
----------------
Just use MBBI->getDebugLoc() here and drop MI.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D93849/new/

https://reviews.llvm.org/D93849



More information about the llvm-commits mailing list