[all-commits] [llvm/llvm-project] 8b0c62: Enumeration Type Lowering: FIR code generation (PR 9)

kwyatt-ext via All-commits all-commits at lists.llvm.org
Wed Jun 10 08:32:35 PDT 2026


  Branch: refs/heads/users/kwyatt-ext/enum-lowering
  Home:   https://github.com/llvm/llvm-project
  Commit: 8b0c628151539c6629c2bea61217721af0813f66
      https://github.com/llvm/llvm-project/commit/8b0c628151539c6629c2bea61217721af0813f66
  Author: Kevin Wyatt <kwyatt at hpe.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M flang/lib/Lower/ConvertConstant.cpp
    M flang/lib/Lower/ConvertExpr.cpp
    M flang/lib/Lower/ConvertExprToHLFIR.cpp
    M flang/lib/Lower/ConvertType.cpp
    M flang/lib/Optimizer/Builder/IntrinsicCall.cpp

  Log Message:
  -----------
  Enumeration Type Lowering: FIR code generation (PR 9)

Maps enumeration types to i32 at the FIR level. Intercepts enumeration
DerivedTypeSpec in ConvertType to produce IntegerType, lowers
enumeration constructors/constants, and generates NEXT/PREVIOUS/HUGE
intrinsic lowering with STAT boundary handling and error termination.

Files from original PR 9 plus PR 7/8 lowering additions (PREVIOUS,
STAT, void-cast fixes).


  Commit: dab8820d897b0ee732d07ba266256eb2b1fdbb22
      https://github.com/llvm/llvm-project/commit/dab8820d897b0ee732d07ba266256eb2b1fdbb22
  Author: Kevin Wyatt <kwyatt at hpe.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    A flang/test/Lower/enumeration-type.f90

  Log Message:
  -----------
  Adding lowering test.


Compare: https://github.com/llvm/llvm-project/compare/e73b50251627...dab8820d897b

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