[all-commits] [llvm/llvm-project] 5dfd52: [InstCombine] Adding testcase for Z / (1.0 / Y) =>...

RotateRight via All-commits all-commits at lists.llvm.org
Wed Jan 8 07:36:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5dfd52398f5c1b67024106febdc68e6b12f8ad37
      https://github.com/llvm/llvm-project/commit/5dfd52398f5c1b67024106febdc68e6b12f8ad37
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2020-01-08 (Wed, 08 Jan 2020)

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

  Log Message:
  -----------
  [InstCombine] Adding testcase for Z / (1.0 / Y) => (Y * Z); NFC

The added testcase shows the current transformation for the operation
Z / (1.0 / Y), which remains unchanged. This will be updated to align
with the transformed code (Y * Z) with D72319.

The existing transformation Z / (X / Y) => (Y * Z) / X is not handling
this case as there are multiple uses for (1.0 / Y) in this testcase.

Patch by: @raghesh (Raghesh Aloor)

Differential Revision: https://reviews.llvm.org/D72388




More information about the All-commits mailing list