[all-commits] [llvm/llvm-project] 30cbe8: InstCombine: Add baseline checks for ldexp(x, c ? ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 2 04:32:24 PDT 2024


  Branch: refs/heads/users/arsenm/instcombine-fold-ldexp-select-with-0
  Home:   https://github.com/llvm/llvm-project
  Commit: 30cbe8b03efd589c8c96e5beee37b5e1f8298803
      https://github.com/llvm/llvm-project/commit/30cbe8b03efd589c8c96e5beee37b5e1f8298803
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/test/Transforms/InstCombine/ldexp.ll

  Log Message:
  -----------
  InstCombine: Add baseline checks for ldexp(x, c ? x : 0) combine


  Commit: 672b19972c7aedd013f19ec40de987325f2ca28e
      https://github.com/llvm/llvm-project/commit/672b19972c7aedd013f19ec40de987325f2ca28e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/IRBuilder.h
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
    M llvm/test/Transforms/InstCombine/ldexp.ll

  Log Message:
  -----------
  InstCombine: Try to fold ldexp with select of power operand

This makes it more likely a constant value can fold into the source
operand.


  Commit: 2fe6762138dae382f80dbe8f21d043c41f0e7ad2
      https://github.com/llvm/llvm-project/commit/2fe6762138dae382f80dbe8f21d043c41f0e7ad2
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/include/llvm/IR/IRBuilder.h

  Log Message:
  -----------
  Add FMFSource to CreateLdexp


  Commit: d7c42022d51bd176aefadd7e672413e22239c211
      https://github.com/llvm/llvm-project/commit/d7c42022d51bd176aefadd7e672413e22239c211
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2024-07-02 (Tue, 02 Jul 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp

  Log Message:
  -----------
  Use copyFastMathFlags


Compare: https://github.com/llvm/llvm-project/compare/d76862603d60...d7c42022d51b

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