[all-commits] [llvm/llvm-project] b0e05a: [RISCV] Add missing check before accessing pointer

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Tue Jan 7 01:56:10 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0e05a5f04d3225b8ff1319064c88d0249e683d2
      https://github.com/llvm/llvm-project/commit/b0e05a5f04d3225b8ff1319064c88d0249e683d2
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

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

  Log Message:
  -----------
  [RISCV] Add missing check before accessing pointer

C2 can be null here, so we need to check it or clang may crash.



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