[all-commits] [llvm/llvm-project] 598d9d: [X86] Add more avx512 masked fmaddsub/fmsubadd aut...

topperc via All-commits all-commits at lists.llvm.org
Fri Feb 7 15:27:31 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 598d9dd846f1086abfc1c5055df0d25e8a485fc9
      https://github.com/llvm/llvm-project/commit/598d9dd846f1086abfc1c5055df0d25e8a485fc9
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/avx512-fma-intrinsics-upgrade.ll

  Log Message:
  -----------
  [X86] Add more avx512 masked fmaddsub/fmsubadd autoupgrade tests with rounding control not set to 4.

The fmsubadd upgrade doesn't insert the negate properly when the
rounding control isn't 4.


  Commit: bb717d3f469b997ce6b13f2b87ffd78d2d2254b7
      https://github.com/llvm/llvm-project/commit/bb717d3f469b997ce6b13f2b87ffd78d2d2254b7
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-02-07 (Fri, 07 Feb 2020)

  Changed paths:
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/test/CodeGen/X86/avx512-fma-intrinsics-upgrade.ll

  Log Message:
  -----------
  [X86] Correct the implementation of the avx512 masked fmsubadd autoupgrade code to not leave the negate unconnected.

This was causing us to generate fmaddsub instead of fmsubadd if
rounding control is not 4.


Compare: https://github.com/llvm/llvm-project/compare/25675d4eaab6...bb717d3f469b


More information about the All-commits mailing list