[all-commits] [llvm/llvm-project] 80fce0: [InstCombine] Fold `minmax (X & NegPow2C, Y & NegP...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Tue Apr 16 02:16:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80fce05f2104d1c42db814276130536b014fcca2
      https://github.com/llvm/llvm-project/commit/80fce05f2104d1c42db814276130536b014fcca2
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-04-16 (Tue, 16 Apr 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/minmax-intrinsics.ll

  Log Message:
  -----------
  [InstCombine] Fold `minmax (X & NegPow2C, Y & NegPow2C) -> minmax(X, Y) & NegPow2C` (#88859)

Alive2: https://alive2.llvm.org/ce/z/NFtkSX

This optimization will be beneficial to jemalloc users.



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