[all-commits] [llvm/llvm-project] 949639: [flang] Fold LCOBOUND & UCOBOUND (#121411)

Peter Klausler via All-commits all-commits at lists.llvm.org
Wed Jan 8 13:13:52 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94963919011d77c2f3f9d867cb73067a4f50e87c
      https://github.com/llvm/llvm-project/commit/94963919011d77c2f3f9d867cb73067a4f50e87c
  Author: Peter Klausler <pklausler at nvidia.com>
  Date:   2025-01-08 (Wed, 08 Jan 2025)

  Changed paths:
    M flang/include/flang/Evaluate/shape.h
    M flang/lib/Evaluate/fold-integer.cpp
    M flang/lib/Evaluate/intrinsics.cpp
    M flang/lib/Evaluate/shape.cpp
    M flang/test/Semantics/lcobound.f90
    M flang/test/Semantics/ucobound.f90

  Log Message:
  -----------
  [flang] Fold LCOBOUND & UCOBOUND (#121411)

Implement constant folding for LCOBOUND and UCOBOUND intrinsic
functions. Moves some error detection code from intrinsics.cpp to
fold-integer.cpp so that erroneous calls get properly flagged and
converted into known errors.



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