[all-commits] [llvm/llvm-project] 717597: Add debug location to strlen in LoopIdiomRecognize...

Amy Huang via All-commits all-commits at lists.llvm.org
Fri May 16 14:42:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7175970fc5987ac5a7ae0cb8d2527b200b27a5ec
      https://github.com/llvm/llvm-project/commit/7175970fc5987ac5a7ae0cb8d2527b200b27a5ec
  Author: Amy Huang <akhuang at google.com>
  Date:   2025-05-16 (Fri, 16 May 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    M llvm/test/Transforms/LoopIdiom/strlen.ll

  Log Message:
  -----------
  Add debug location to strlen in LoopIdiomRecognize pass (#140164)

Pass down the debug location to the generated strlen call
because LLVM maintains that calls to inlinable functions must have debug info.



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