[flang-commits] [flang] [flang] Promote scalar slots reached through fir.convert and fir.declare (PR #219314)

Vijay Kandiah via flang-commits flang-commits at lists.llvm.org
Fri Aug 28 13:05:51 PDT 2026


VijayKandiah wrote:

With my recent change, a slot is aliased only when its pointee is integer-like (integer or logical types). Promoting a floating-point (or complex type) slot lets its value be folded, or deleted when nothing reads it, either of which loses an IEEE exception observable through `ieee_get_flag`. Hence, fp and complex declares keep the promotion they had before, under the original single-block restriction from https://github.com/llvm/llvm-project/pull/182933. cc @jeanPerier 

https://github.com/llvm/llvm-project/pull/219314


More information about the flang-commits mailing list