[all-commits] [llvm/llvm-project] caa9a8: [DebugInfo][LoopVectorizer] Avoid dropping !dbg in...

Stephen Tozer via All-commits all-commits at lists.llvm.org
Thu Nov 14 01:34:08 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: caa9a827978536ea0047c75b32a8fedd6a1dcacf
      https://github.com/llvm/llvm-project/commit/caa9a827978536ea0047c75b32a8fedd6a1dcacf
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-11-14 (Thu, 14 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    A llvm/test/Transforms/LoopVectorize/debugloc-optimize-vfuf-term.ll

  Log Message:
  -----------
  [DebugInfo][LoopVectorizer] Avoid dropping !dbg in optimizeForVFAndUF (#114243)

Prior to this patch, optimizeForVFAndUF may optimize the conditional
branch for a VPBasicblock to have a constant condition, but
unnecessarily drops the DILocation attachment when it does so; this
patch changes it to preserve the DILocation.



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