[all-commits] [llvm/llvm-project] b7248b: [RISCV] Use cast instead of dyn_cast to MemSDNode ...

Craig Topper via All-commits all-commits at lists.llvm.org
Tue Jul 8 21:45:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b7248b5cd464a1ce8f445c71f538c067dfaad9ac
      https://github.com/llvm/llvm-project/commit/b7248b5cd464a1ce8f445c71f538c067dfaad9ac
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp

  Log Message:
  -----------
  [RISCV] Use cast instead of dyn_cast to MemSDNode in RISCVISelDAGToDAG.cpp. (#147643)

All of these are guaranteed to be MemSDNode. The only intrinsics that
aren't are vlm and vsm. We should add those to
RISCVTargetLowering::getTgtMemIntrinsic to fix that.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list