[all-commits] [llvm/llvm-project] 897b00: Reuse getBinOpIdentity in createAnyOfTargetReducti...

Philip Reames via All-commits all-commits at lists.llvm.org
Fri Aug 30 11:57:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 897b00f3c563dd3f7b8f7263c41eaebb3520ec86
      https://github.com/llvm/llvm-project/commit/897b00f3c563dd3f7b8f7263c41eaebb3520ec86
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-08-30 (Fri, 30 Aug 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUtils.cpp

  Log Message:
  -----------
  Reuse getBinOpIdentity in createAnyOfTargetReduction [nfc]

Consolidating code so that we have one copy instead of multiple reasoning
about identity element.  Note that we're (deliberately) not passing
the FMF flags to common utility to preserve behavior in this change.



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