[all-commits] [llvm/llvm-project] ea7d6a: [NFC][flang] Distinguish MATMUL and MATMUL-TRANSPO...

Slava Zakharin via All-commits all-commits at lists.llvm.org
Fri Jul 21 12:57:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ea7d6a1bd6ca673ff8541859010ed8488d2ca859
      https://github.com/llvm/llvm-project/commit/ea7d6a1bd6ca673ff8541859010ed8488d2ca859
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M flang/runtime/matmul-transpose.cpp

  Log Message:
  -----------
  [NFC][flang] Distinguish MATMUL and MATMUL-TRANSPOSE printouts.

When MatmulTranpose reports incorrect shapes of the arguments
it cannot represent itself as MATMUL, because the reading
of the first argument's shape will be confusing.

Reviewed By: kiranchandramohan

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


  Commit: a262081a22001b59073a7bd1ce8bd1dd33e288c4
      https://github.com/llvm/llvm-project/commit/a262081a22001b59073a7bd1ce8bd1dd33e288c4
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M flang/lib/Lower/HlfirIntrinsics.cpp
    M flang/test/Lower/HLFIR/transpose.f90

  Log Message:
  -----------
  [flang][hlfir] Preserve polymorphism for the result of hlfir.transpose.

Reviewed By: kiranchandramohan

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


  Commit: 8c33630e15c8c630804058f0820b8876e5674d71
      https://github.com/llvm/llvm-project/commit/8c33630e15c8c630804058f0820b8876e5674d71
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-07-21 (Fri, 21 Jul 2023)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/LowerHLFIRIntrinsics.cpp
    M flang/test/HLFIR/dot_product-lowering.fir

  Log Message:
  -----------
  [flang][hlfir] Added missing fir.convert for i1 result of hlfir.dot_product.

Some operations using the result of hlfir.dot_product can tolerate
that the type of the result changes from !fir.logical to i1 during
intrinsics lowering, but some won't. I added a separate LIT case with
fir.store to mimic one of the nag tests.

Reviewed By: kiranchandramohan

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


Compare: https://github.com/llvm/llvm-project/compare/221ba64e05de...8c33630e15c8


More information about the All-commits mailing list