[all-commits] [llvm/llvm-project] 4e42c0: Enumeration Type Lowering: FIR code generation (PR 9)
kwyatt-ext via All-commits
all-commits at lists.llvm.org
Thu Sep 24 12:44:43 PDT 2026
Branch: refs/heads/users/kwyatt-ext/enum-lowering
Home: https://github.com/llvm/llvm-project
Commit: 4e42c01bbb4e19cdbb3a460f6da17d39d94c718e
https://github.com/llvm/llvm-project/commit/4e42c01bbb4e19cdbb3a460f6da17d39d94c718e
Author: Kevin Wyatt <kwyatt at hpe.com>
Date: 2026-09-24 (Thu, 24 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: 0b88bbdadd8bda492d068d3e479527f28b1a9e68
https://github.com/llvm/llvm-project/commit/0b88bbdadd8bda492d068d3e479527f28b1a9e68
Author: Kevin Wyatt <kwyatt at hpe.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
A flang/test/Lower/enumeration-type.f90
Log Message:
-----------
Adding lowering test.
Commit: 20526d27814cfb290e1cf4e0994d27e7dc5cd45f
https://github.com/llvm/llvm-project/commit/20526d27814cfb290e1cf4e0994d27e7dc5cd45f
Author: Kevin Wyatt <kwyatt at hpe.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M flang/lib/Lower/ConvertExprToHLFIR.cpp
Log Message:
-----------
Added processing for non-constant constructors.
Commit: 891484d8a6f60b715714b37e69b2077301c0d525
https://github.com/llvm/llvm-project/commit/891484d8a6f60b715714b37e69b2077301c0d525
Author: Kevin Wyatt <kwyatt at hpe.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M flang/lib/Evaluate/fold-implementation.h
M flang/lib/Evaluate/intrinsics.cpp
M flang/lib/Lower/Bridge.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/test/Lower/enumeration-type.f90
M flang/test/Semantics/enumeration-type-intrinsics.f90
Log Message:
-----------
Completed the lowering of intrinsics: STAT=, arrays, etc.
Commit: 6689abc103861663a7a23fe32e4e25a0bf05c733
https://github.com/llvm/llvm-project/commit/6689abc103861663a7a23fe32e4e25a0bf05c733
Author: Kevin Wyatt <kwyatt at hpe.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Semantics/type.cpp
M flang/test/Lower/enumeration-type.f90
Log Message:
-----------
Fixed lowering bugs. This allows complete successful testing of feature.
Commit: f158029acaa1388a9321d515e17e611aac5d37b8
https://github.com/llvm/llvm-project/commit/f158029acaa1388a9321d515e17e611aac5d37b8
Author: Kevin Wyatt <kwyatt at hpe.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M flang/lib/Semantics/check-io.cpp
M flang/test/Lower/enumeration-type.f90
A flang/test/Semantics/io-unsafe-direct-component-pdt-order.f90
Log Message:
-----------
Another bug fix
Commit: 3775852f2f20dc11195450050239178ca6194f28
https://github.com/llvm/llvm-project/commit/3775852f2f20dc11195450050239178ca6194f28
Author: Kevin Wyatt <kwyatt at hpe.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M flang/lib/Semantics/resolve-names.cpp
A flang/test/Semantics/enumeration-type-component-offset.f90
A flang/test/Semantics/enumeration-type-component-usage.f90
M flang/test/Semantics/enumeration-type-declarations.f90
A flang/test/Semantics/enumeration-type-explicit-value.f90
A flang/test/Semantics/enumeration-type-misc.f90
Log Message:
-----------
- Added additional tests to fully cover feature semantics.
- Corrected bug detected by those tests that allowed duplicate
enumerator names.
Commit: 944f8481ceee442e70e10eabcfc5d708faf8af4d
https://github.com/llvm/llvm-project/commit/944f8481ceee442e70e10eabcfc5d708faf8af4d
Author: Kevin Wyatt <kwyatt at hpe.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M flang/lib/Lower/CallInterface.cpp
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/test/Lower/enumeration-type.f90
Log Message:
-----------
Addressing AI review identified issues.
Commit: cf72b5809ad5c98eb1fdecf9f43da9d527e07755
https://github.com/llvm/llvm-project/commit/cf72b5809ad5c98eb1fdecf9f43da9d527e07755
Author: Kevin Wyatt <kwyatt at hpe.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M flang/lib/Lower/ConvertExprToHLFIR.cpp
M flang/lib/Semantics/check-io.cpp
M flang/lib/Semantics/resolve-names.cpp
M flang/test/Semantics/enumeration-type-component-offset.f90
M flang/test/Semantics/enumeration-type-declarations.f90
M flang/test/Semantics/enumeration-type-explicit-value.f90
M flang/test/Semantics/enumeration-type-intrinsics.f90
M flang/test/Semantics/io-unsafe-direct-component-pdt-order.f90
Log Message:
-----------
Corrected comments
Commit: 095d1945f7700776c0f8f0ed00640133a8c285f2
https://github.com/llvm/llvm-project/commit/095d1945f7700776c0f8f0ed00640133a8c285f2
Author: Kevin Wyatt <kwyatt at hpe.com>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M flang/test/Lower/enumeration-type.f90
Log Message:
-----------
Update fir.alloca CHECK for inherent-attribute syntax
Compare: https://github.com/llvm/llvm-project/compare/7890805338a7...095d1945f770
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