[all-commits] [llvm/llvm-project] cfb506: [Flang][Lower] Flatten signed real sum terms

Tom Eccles via All-commits all-commits at lists.llvm.org
Fri Jul 24 08:26:24 PDT 2026


  Branch: refs/heads/users/tblah/expression-rewrite-generalisation-2
  Home:   https://github.com/llvm/llvm-project
  Commit: cfb50688baf16ffb3681a1facaea2c675e0acc04
      https://github.com/llvm/llvm-project/commit/cfb50688baf16ffb3681a1facaea2c675e0acc04
  Author: Tom Eccles <tom.eccles at arm.com>
  Date:   2026-07-24 (Fri, 24 Jul 2026)

  Changed paths:
    M flang/lib/Evaluate/tools.cpp
    M flang/test/Lower/split-sum-expression-tree-lowering.f90

  Log Message:
  -----------
  [Flang][Lower] Flatten signed real sum terms

Second part of generalisations requested in #207377.

Extend real sum reassociation to flatten unparenthesized addition and
subtraction into signed terms. Rebuild split groups with addition and
subtraction while preserving parenthesized subtrees as opaque values.

I did not observe any benchmark result changes as a result of this
patch.

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