[all-commits] [llvm/llvm-project] b0924e: [AggressiveInstCombine] Add tests for memchr inlin...

natedal via All-commits all-commits at lists.llvm.org
Tue Jan 28 22:06:26 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0924ed64e0d814ab23fa474c2047030dd3a2f46
      https://github.com/llvm/llvm-project/commit/b0924ed64e0d814ab23fa474c2047030dd3a2f46
  Author: natedal <125322768+natedal at users.noreply.github.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M llvm/test/Transforms/AggressiveInstCombine/memchr.ll

  Log Message:
  -----------
  [AggressiveInstCombine] Add tests for memchr inline threshold (NFC) (#121711)

This adds a test checking that, if length=2, memchr is called. This is
undesirable as it would be faster to directly compare the two array
elements with the target element, rather than calling the external
memchr function.



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