[all-commits] [llvm/llvm-project] 1b182c: [flang] Fix XArrayCoorOp conversion for index type...

PeixinQiao via All-commits all-commits at lists.llvm.org
Tue Jun 7 00:00:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1b182c65ebe9d86f8c8d9c8212eda1c5e6681ace
      https://github.com/llvm/llvm-project/commit/1b182c65ebe9d86f8c8d9c8212eda1c5e6681ace
  Author: Peixin-Qiao <qiaopeixin at huawei.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M flang/test/Fir/convert-to-llvm.fir

  Log Message:
  -----------
  [flang] Fix XArrayCoorOp conversion for index type slices

The previous XArrayCoorOp conversion forgot to change getting the
operands from OpAdaptor for upper bound and step of slice. This leads to
the fail of incompatible of types of codegen when slices are index type.

Reviewed By: kiranchandramohan, schweitz

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




More information about the All-commits mailing list