[all-commits] [llvm/llvm-project] 7c5288: [Transform] Clean up strlen loop idiom (#132421)

Henry Jiang via All-commits all-commits at lists.llvm.org
Fri Mar 21 16:10:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c52886700a5a70d873400ec022a99d7dce8b03b
      https://github.com/llvm/llvm-project/commit/7c52886700a5a70d873400ec022a99d7dce8b03b
  Author: Henry Jiang <h243jian at uwaterloo.ca>
  Date:   2025-03-21 (Fri, 21 Mar 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
    M llvm/test/Transforms/LoopIdiom/strlen-not-emittable.ll
    M llvm/test/Transforms/LoopIdiom/strlen.ll
    M llvm/test/Transforms/LoopIdiom/wcslen16.ll
    M llvm/test/Transforms/LoopIdiom/wcslen32.ll

  Log Message:
  -----------
  [Transform] Clean up strlen loop idiom (#132421)

We should bailout of modifying the CFG if the library functions are not
emittable or disabled.



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