[all-commits] [llvm/llvm-project] cf23f0: [flang][NFC] remove stmtCtx genIntrinsicCall 1/6

Tom Eccles via All-commits all-commits at lists.llvm.org
Mon Feb 6 02:35:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf23f08c5c050c9de2cc63815a7f46026e13aa71
      https://github.com/llvm/llvm-project/commit/cf23f08c5c050c9de2cc63815a7f46026e13aa71
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M flang/include/flang/Lower/CustomIntrinsicCall.h
    M flang/include/flang/Lower/IntrinsicCall.h
    M flang/lib/Lower/CustomIntrinsicCall.cpp
    M flang/lib/Lower/IntrinsicCall.cpp

  Log Message:
  -----------
  [flang][NFC] remove stmtCtx genIntrinsicCall 1/6

This removes IntrinsicCall's dependency upon StatementContext, which
will make it easier to move IntrinsicCall into flang/lib/Optimizer, for
use in passes.

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


  Commit: 3dad5d34713e26e64ff8d2c814e8d17b9874856c
      https://github.com/llvm/llvm-project/commit/3dad5d34713e26e64ff8d2c814e8d17b9874856c
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M flang/lib/Lower/IntrinsicCall.cpp

  Log Message:
  -----------
  [flang][NFC] remove spurious dependency from IntrinsicCall 2/6

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


  Commit: 18ed49d25557e25c8815eb93fa0b300c442a0961
      https://github.com/llvm/llvm-project/commit/18ed49d25557e25c8815eb93fa0b300c442a0961
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M flang/include/flang/Lower/Runtime.h
    A flang/include/flang/Optimizer/Builder/Runtime/Intrinsics.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Lower/Runtime.cpp
    M flang/lib/Optimizer/Builder/CMakeLists.txt
    A flang/lib/Optimizer/Builder/Runtime/Intrinsics.cpp

  Log Message:
  -----------
  [flang][NFC] Move runtime helpers used by intrinsics to lib/Optimizer 3/6

This will allow IntrinsicCall to be moved into lib/Optimizer later.

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


  Commit: cdd5f349695c66c2206427c6d88ca09c46ed64a1
      https://github.com/llvm/llvm-project/commit/cdd5f349695c66c2206427c6d88ca09c46ed64a1
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M flang/include/flang/Lower/Support/Utils.h
    M flang/lib/Lower/IntrinsicCall.cpp

  Log Message:
  -----------
  [flang][NFC] remove duplicate fir::toInt definition 4/6

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


  Commit: b8da9c556803a032140565b795ee9bddb76b414e
      https://github.com/llvm/llvm-project/commit/b8da9c556803a032140565b795ee9bddb76b414e
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    M flang/include/flang/Lower/Mangler.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Lower/Mangler.cpp

  Log Message:
  -----------
  [flang][NFC] Move intrinsic name mangling to IntrinsicCall 5/6

This removes another dependency of IntrinsicCall upon flang/lib/Lower:
making it possible to move IntrinsicCall into flang/lib/Optimizer.

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


  Commit: 6dcb31de1f142f6928ab39e936de2a7a129b92f3
      https://github.com/llvm/llvm-project/commit/6dcb31de1f142f6928ab39e936de2a7a129b92f3
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2023-02-06 (Mon, 06 Feb 2023)

  Changed paths:
    R flang/include/flang/Lower/IntrinsicCall.h
    A flang/include/flang/Optimizer/Builder/IntrinsicCall.h
    M flang/lib/Lower/CMakeLists.txt
    M flang/lib/Lower/ConvertCall.cpp
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/lib/Lower/ConvertVariable.cpp
    M flang/lib/Lower/CustomIntrinsicCall.cpp
    R flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/CMakeLists.txt
    A flang/lib/Optimizer/Builder/IntrinsicCall.cpp

  Log Message:
  -----------
  [flang][NFC] Move IntrinsicCall to Optimizer/Builder/ 6/6

This will allow IntrinsicCall to be used in passes to implement hlfir
transformational intrinsic operations.

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


Compare: https://github.com/llvm/llvm-project/compare/f7b10467b63f...6dcb31de1f14


More information about the All-commits mailing list