[all-commits] [llvm/llvm-project] 9230d5: [InstCombine] add tests for pow reassociation; NFC

Sanjay Patel via All-commits all-commits at lists.llvm.org
Fri Jan 13 10:26:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9230d5d6a239225fba517b651d5c8d91d216a7c4
      https://github.com/llvm/llvm-project/commit/9230d5d6a239225fba517b651d5c8d91d216a7c4
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M llvm/test/Transforms/InstCombine/fmul-pow.ll

  Log Message:
  -----------
  [InstCombine] add tests for pow reassociation; NFC


  Commit: 914576c1f0b66994ca97867676ab6074b9be6f3e
      https://github.com/llvm/llvm-project/commit/914576c1f0b66994ca97867676ab6074b9be6f3e
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/fmul-pow.ll

  Log Message:
  -----------
  [InstCombine] fold pow(X,Y) * pow(Z,Y) -> pow(X*Z, Y) (with fast-math)

This is one of the patterns suggested in issue #34943.


Compare: https://github.com/llvm/llvm-project/compare/ee6536b936fd...914576c1f0b6


More information about the All-commits mailing list