[all-commits] [llvm/llvm-project] 85fd83: [flang][nfc] Use llvm memmove intrinsic over regul...

Asher Mancinelli via All-commits all-commits at lists.llvm.org
Fri Apr 4 06:13:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 85fd83ed49604d1046e937afa76f3ad802e28822
      https://github.com/llvm/llvm-project/commit/85fd83ed49604d1046e937afa76f3ad802e28822
  Author: Asher Mancinelli <ashermancinelli at gmail.com>
  Date:   2025-04-04 (Fri, 04 Apr 2025)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/LowLevelIntrinsics.h
    M flang/lib/Optimizer/Builder/Character.cpp
    M flang/lib/Optimizer/Builder/LowLevelIntrinsics.cpp
    M flang/test/HLFIR/assign-codegen.fir
    M flang/test/HLFIR/associate-codegen.fir
    M flang/test/HLFIR/char_extremum-bufferization.fir
    M flang/test/HLFIR/concat-bufferization.fir
    M flang/test/Lower/host-associated.f90
    M flang/test/Lower/optional-value-caller.f90
    M flang/test/Lower/pointer-references.f90
    M flang/test/Lower/statement-function.f90
    M flang/test/Lower/structure-constructors.f90

  Log Message:
  -----------
  [flang][nfc] Use llvm memmove intrinsic over regular call (#134294)

Follow up to #134170.

We should be using the LLVM intrinsics instead of plain fir.calls when
we can. Existing code creates a declaration for the llvm intrinsic and
a regular fir.call, which makes it hard for consumers of the IR to find
all the intrinsic calls.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list