[all-commits] [llvm/llvm-project] bdb05e: [SCEVExpander] Keep use flags when expanding adds ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Tue Sep 22 01:44:32 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bdb05e67a787048a8e2da4c019c8cdabc44771e8
      https://github.com/llvm/llvm-project/commit/bdb05e67a787048a8e2da4c019c8cdabc44771e8
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/ScalarEvolutionExpander.h
    M llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp
    M llvm/test/Transforms/IndVarSimplify/exit-value-nowrap-flags.ll

  Log Message:
  -----------
  [SCEVExpander] Keep use flags when expanding adds to GEPs (#225148)

Update expandAddToGEP to accept and thread through operands as SCEVUse.

This properly use SCEVUse flags when expanding GEPs.

PR: https://github.com/llvm/llvm-project/pull/225148



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