[all-commits] [llvm/llvm-project] b1012e: [InstCombine] (NFC) Adding tests for InstCombine c...

Christoph Stiller via All-commits all-commits at lists.llvm.org
Fri Sep 1 13:02:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1012e60a48b76d240795aa54329b8cb8e1e9f79
      https://github.com/llvm/llvm-project/commit/b1012e60a48b76d240795aa54329b8cb8e1e9f79
  Author: Christoph Stiller <c.stiller at live.de>
  Date:   2023-09-01 (Fri, 01 Sep 2023)

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

  Log Message:
  -----------
  [InstCombine] (NFC) Adding tests for InstCombine contraction of x^2 + 2*x*y + y^2 into (x + y)^2 (float)

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


  Commit: 3af4590506634fa176be5cb5f53161f96609730c
      https://github.com/llvm/llvm-project/commit/3af4590506634fa176be5cb5f53161f96609730c
  Author: Christoph Stiller <c.stiller at live.de>
  Date:   2023-09-01 (Fri, 01 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
    M llvm/lib/Transforms/InstCombine/InstCombineInternal.h
    M llvm/test/Transforms/InstCombine/fadd.ll

  Log Message:
  -----------
  [InstCombine] Contracting x^2 + 2*x*y + y^2 to (x + y)^2 (float)

Resolves https://github.com/llvm/llvm-project/issues/61296 if https://reviews.llvm.org/D156026 didn't suffice.

Reviewed By: goldstein.w.n

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


Compare: https://github.com/llvm/llvm-project/compare/dd2911d8745a...3af459050663


More information about the All-commits mailing list