[all-commits] [llvm/llvm-project] a45ca5: [flang] Fixed substr access in embox/rebox CodeGen.

Slava Zakharin via All-commits all-commits at lists.llvm.org
Tue Apr 18 09:01:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a45ca5d999dc4631f4680febe99ce49df3e813b1
      https://github.com/llvm/llvm-project/commit/a45ca5d999dc4631f4680febe99ce49df3e813b1
  Author: Slava Zakharin <szakharin at nvidia.com>
  Date:   2023-04-18 (Tue, 18 Apr 2023)

  Changed paths:
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    A flang/test/Fir/embox-substring.fir
    M flang/test/Fir/rebox-susbtring.fir

  Log Message:
  -----------
  [flang] Fixed substr access in embox/rebox CodeGen.

The code was using the original operand of the operation, while
it should have been using the remapped operands via the adaptor.

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




More information about the All-commits mailing list