[PATCH] D99195: [RISCV] Optimize BUILD_VECTOR sequences that reveal hidden splats

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 23 14:19:28 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:1274
+    }
+
+    // Since we can't introduce illegal i64 types at this stage, we can only
----------------
Do we need to sign extend SplatValue if the ViaIntVT is 32 and XLen is 64 bit to guarantee optimal constant materialization?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99195



More information about the llvm-commits mailing list