[PATCH] D94589: [RISCV] Add intrinsics for vector AMO instructions

Zakk Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 15 07:11:00 PST 2021


khchen added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td:107
+}
+
 // Output pattern for X0 used to represent VLMAX in the pseudo instructions.
----------------
vlxe and vlse have the same logic and I think they can reuse above utility functions, right?
Do you have a plan to update them (vlxe and vlse) and make the same logic with consistent implementation?  maybe it could be in another patch.


================
Comment at: llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td:3228
+  defm "" : VPatAMOV_WD<"int_riscv_vamoswap", "PseudoVAMOSWAP", AllFloatVectors>;
+} // Predicates = [HasStdExtZvamo, HasStdExtF]
 
----------------
Should it have HasStdExtV predicate?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94589



More information about the llvm-commits mailing list