[all-commits] [llvm/llvm-project] 39f6d8: [flang] Speed up folding of LEN_TRIM()

Peter Klausler via All-commits all-commits at lists.llvm.org
Sat Oct 29 14:08:22 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39f6d8334522ee5baefeae49be5bf1a3d6163e9f
      https://github.com/llvm/llvm-project/commit/39f6d8334522ee5baefeae49be5bf1a3d6163e9f
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2022-10-29 (Sat, 29 Oct 2022)

  Changed paths:
    M flang/lib/Evaluate/character.h

  Log Message:
  -----------
  [flang] Speed up folding of LEN_TRIM()

LEN_TRIM's folding is currently based on VERIFY(), and it is kind of
slow for the very large CHARACTER arguments that can show up in artificial
test suites.  Rewrite in terms of single-character accesses.

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




More information about the All-commits mailing list