[PATCH] D100803: [RISCV] Enable SPLAT_VECTOR for fixed vXi64 types on RV32.

Fraser Cormack via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 20 09:11:09 PDT 2021


frasercrmck added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:2676
+
+    if (isa<ConstantSDNode>(Lo) && isa<ConstantSDNode>(Hi)) {
+      int32_t LoC = cast<ConstantSDNode>(Lo)->getSExtValue();
----------------
I'm wondering if you could fold this optimization into `splatPartsI64WithVL`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D100803



More information about the llvm-commits mailing list