[all-commits] [llvm/llvm-project] 3ab133: [InstCombine] Add tests for mul of abs intrinsic (...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Sep 5 03:39:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ab13348ba4c25f12254dd6c772f9fb1060b4425
      https://github.com/llvm/llvm-project/commit/3ab13348ba4c25f12254dd6c772f9fb1060b4425
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-09-05 (Sat, 05 Sep 2020)

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

  Log Message:
  -----------
  [InstCombine] Add tests for mul of abs intrinsic (NFC)


  Commit: 58b28fa7a2fd57051f3d2911878776d6f57b18d8
      https://github.com/llvm/llvm-project/commit/58b28fa7a2fd57051f3d2911878776d6f57b18d8
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-09-05 (Sat, 05 Sep 2020)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
    M llvm/test/Transforms/InstCombine/mul.ll

  Log Message:
  -----------
  [InstCombine] Fold mul of abs intrinsic

Same as the existing SPF_ABS fold. We don't need to explicitly
handle NABS, as the negs will get folded away first.


Compare: https://github.com/llvm/llvm-project/compare/10cb23c6ca45...58b28fa7a2fd


More information about the All-commits mailing list