[all-commits] [llvm/llvm-project] 42d712: [X86][TTI] Use dyn_cast_or_null in getGSVectorCost...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat May 30 14:07:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42d712ea62f5430d515ee86c3c351816e4188459
      https://github.com/llvm/llvm-project/commit/42d712ea62f5430d515ee86c3c351816e4188459
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-05-30 (Sat, 30 May 2026)

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/test/Transforms/LoopVectorize/X86/vector_max_bandwidth.ll

  Log Message:
  -----------
  [X86][TTI] Use dyn_cast_or_null in getGSVectorCost. (#200606)

Ptr may be nullptr, use dyn_cast_or_null to fix crash.

Fixes https://github.com/llvm/llvm-project/issues/200330.



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