[all-commits] [llvm/llvm-project] 7f7a0f: [InstSimplify] reduce code duplication for fmul fo...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Tue Oct 4 07:39:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f7a0f2f83c741908407a16c1c4f6a671b6b6081
      https://github.com/llvm/llvm-project/commit/7f7a0f2f83c741908407a16c1c4f6a671b6b6081
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp

  Log Message:
  -----------
  [InstSimplify] reduce code duplication for fmul folds; NFC

This is a modification of the earlier attempt from:
7b7940f9da80

For fma callers, we only want to swap a 0.0 or 1.0 constant.


  Commit: b794d72bf4eaba541c398fc67adfdd9775995a6a
      https://github.com/llvm/llvm-project/commit/b794d72bf4eaba541c398fc67adfdd9775995a6a
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-10-04 (Tue, 04 Oct 2022)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll

  Log Message:
  -----------
  [InstSimplify] add tests for fmul with 0.0 operand; NFC


Compare: https://github.com/llvm/llvm-project/compare/c93104073c8a...b794d72bf4ea


More information about the All-commits mailing list