[PATCH] D149743: [RISCV][CodeGen] Support Zdinx on RV32 codegen

Liao Chunyu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 07:52:31 PDT 2023


liaolucy added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVExpandPseudoInsts.cpp:276
+      .add(MBBI->getOperand(2));
+  if (MBBI->getOperand(2).isGlobal() || MBBI->getOperand(2).isCPI()) {
+    assert(MBBI->getOperand(2).getOffset() == 0);
----------------
The global processing is in this if. Maybe there is something unsafe to handle here? Please help with some suggestions. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149743



More information about the llvm-commits mailing list