[all-commits] [llvm/llvm-project] f84f4e: [LV] Don't crash on inner loops with RT checks in ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Mar 10 13:29:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f84f4e1e05f65ef9669b9dd0b1fce519240e9c60
      https://github.com/llvm/llvm-project/commit/f84f4e1e05f65ef9669b9dd0b1fce519240e9c60
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/vplan-native-path-inner-loop-with-runtime-checks.ll

  Log Message:
  -----------
  [LV] Don't crash on inner loops with RT checks in VPlan-native path.

Assert that we only generate runtime checks for inner loops in
emitMemRuntimeChecks, instead of returning nullptr in the VPlan-native
path, which is causing crashes and incorrect code.



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