[PATCH] D144681: [RISCV] Add vendor-defined XTheadCondMov (conditional move) extension

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 24 10:36:16 PST 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:2273
+    auto &WorkingMI = cloneIfNew(MI);
+    WorkingMI.setDesc(get(MI.getOpcode() == RISCV::TH_MVEQZ ? RISCV::TH_MVNEZ : RISCV::TH_MVEQZ));
+    return TargetInstrInfo::commuteInstructionImpl(WorkingMI, false,
----------------
This line exceeds 80 characters


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfo.cpp:2275
+    return TargetInstrInfo::commuteInstructionImpl(WorkingMI, false,
+						   OpIdx1, OpIdx2);
+  }
----------------
This line has tab characters


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144681



More information about the llvm-commits mailing list