[all-commits] [llvm/llvm-project] 1fdd8c: Revert "[Transform] Clean up strlen loop idiom (#1...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Sat Mar 22 03:47:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fdd8cb91e88cf9e71701bd286e2dee98e48540f
      https://github.com/llvm/llvm-project/commit/1fdd8cb91e88cf9e71701bd286e2dee98e48540f
  Author: Martin Storsjö <martin at martin.st>
  Date:   2025-03-22 (Sat, 22 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:
  -----------
  Revert "[Transform] Clean up strlen loop idiom (#132421)"

This reverts commit 7c52886700a5a70d873400ec022a99d7dce8b03b.

Reverting this as I have to revert another preceding commit,
ac9049df7e62e2ca4dc5d103593b51639b5715e3.


  Commit: 2a4522229c7b744dcd268a790ba61e4eb2bfa315
      https://github.com/llvm/llvm-project/commit/2a4522229c7b744dcd268a790ba61e4eb2bfa315
  Author: Martin Storsjö <martin at martin.st>
  Date:   2025-03-22 (Sat, 22 Mar 2025)

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

  Log Message:
  -----------
  Revert "Reland "[Transforms] LoopIdiomRecognize recognize strlen and wcslen (#108985)" (#131412)"

This reverts commit ac9049df7e62e2ca4dc5d103593b51639b5715e3.

This change broke Wine (causing it to hang on startup), see
https://github.com/llvm/llvm-project/pull/108985 for discussion.


Compare: https://github.com/llvm/llvm-project/compare/dd97324f119a...2a4522229c7b

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