[all-commits] [llvm/llvm-project] 2cdf5e: [Flang] Lower the trim intrinsic

kiranchandramohan via All-commits all-commits at lists.llvm.org
Thu Mar 17 05:37:45 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2cdf5ef1362d422b4d9d3053dc6e789e188d80af
      https://github.com/llvm/llvm-project/commit/2cdf5ef1362d422b4d9d3053dc6e789e188d80af
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M flang/lib/Lower/IntrinsicCall.cpp
    A flang/test/Lower/Intrinsics/trim.f90

  Log Message:
  -----------
  [Flang] Lower the trim intrinsic

The trim intrinsic removes trailing blank spaces from a string. The
intrinsic is lowered to a runtime call.

This is part of the upstreaming effort from the fir-dev branch in [1].
[1] https://github.com/flang-compiler/f18-llvm-project

Reviewed By: jeanPerier

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

Co-authored-by: Jean Perier <jperier at nvidia.com>
Co-authored-by: Valentin Clement <clementval at gmail.com>
Co-authored-by: Eric Schweitz <eschweitz at nvidia.com>




More information about the All-commits mailing list