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

kwyatt-ext via All-commits all-commits at lists.llvm.org
Fri Sep 11 08:38:37 PDT 2026


  Branch: refs/heads/users/kwyatt-ext/enum-lowering
  Home:   https://github.com/llvm/llvm-project
  Commit: f2cd194c88da3ce7d5a58c7ea964ac9cabddf2ca
      https://github.com/llvm/llvm-project/commit/f2cd194c88da3ce7d5a58c7ea964ac9cabddf2ca
  Author: Kevin Wyatt <kwyatt at hpe.com>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M flang/lib/Lower/ConvertConstant.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: 08c096473b0bf20354e449f5b4aa133897493454
      https://github.com/llvm/llvm-project/commit/08c096473b0bf20354e449f5b4aa133897493454
  Author: Kevin Wyatt <kwyatt at hpe.com>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

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

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


  Commit: 09734050fed96ed558b01aee12224e125f8f97dc
      https://github.com/llvm/llvm-project/commit/09734050fed96ed558b01aee12224e125f8f97dc
  Author: Kevin Wyatt <kwyatt at hpe.com>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M flang/lib/Lower/ConvertExprToHLFIR.cpp

  Log Message:
  -----------
  Added processing for non-constant constructors.


Compare: https://github.com/llvm/llvm-project/compare/d49c90c88fea...09734050fed9

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