[all-commits] [llvm/llvm-project] f40e46: [flang] Ignore subscript conversions when reassoci...

Tom Eccles via All-commits all-commits at lists.llvm.org
Wed Sep 9 09:20:46 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f40e465b112a1a0cc1f6f544b33f3569bd364e36
      https://github.com/llvm/llvm-project/commit/f40e465b112a1a0cc1f6f544b33f3569bd364e36
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M flang/lib/Evaluate/tools.cpp
    M flang/test/Lower/OpenACC/acc-cache.f90
    A flang/test/Lower/split-sum-expression-tree-subscripts.f90

  Log Message:
  -----------
  [flang] Ignore subscript conversions when reassociating sums (#222302)

Implicit conversions of INTEGER(4) array indices to SubscriptInteger
were treated as conversions in the surrounding floating-point sum,
preventing reassociation of ordinary array-element expressions.

Stop only the conversion traversal at subscripts. Keep the independent
side-effect and volatile/asynchronous checks and embedded numeric
conversion restrictions unchanged.

Assisted-by: Codex



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