[all-commits] [llvm/llvm-project] 020856: [mlir][vector][spirv] Fix a crash in `VectorLoadOp...

Longsheng Mou via All-commits all-commits at lists.llvm.org
Tue Jul 22 04:26:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 020856eec528975cf472b35bf2a7cf38809bf34e
      https://github.com/llvm/llvm-project/commit/020856eec528975cf472b35bf2a7cf38809bf34e
  Author: Longsheng Mou <longshengmou at gmail.com>
  Date:   2025-07-22 (Tue, 22 Jul 2025)

  Changed paths:
    M mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp
    M mlir/test/Conversion/VectorToSPIRV/vector-to-spirv.mlir

  Log Message:
  -----------
  [mlir][vector][spirv] Fix a crash in `VectorLoadOpConverter` (#149964)

This PR adds null check for `spirvVectorType` in VectorLoadOpConverter
to prevent a crash. Fixes #149956.



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