[all-commits] [llvm/llvm-project] 5f5318: [LSR] Do not consider uses in lifetime intrinsics ...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jul 18 07:13:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f531827a4b90f6e0051056fffd8642ae1c677e6
      https://github.com/llvm/llvm-project/commit/5f531827a4b90f6e0051056fffd8642ae1c677e6
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2025-07-18 (Fri, 18 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
    A llvm/test/Transforms/LoopStrengthReduce/X86/lifetime-use.ll

  Log Message:
  -----------
  [LSR] Do not consider uses in lifetime intrinsics (#149492)

We should ignore uses of pointers in lifetime intrinsics, as these are
not actually materialized in the final code, so don't affect register
pressure or anything else LSR needs to model.
    
Handling these only results in peculiar rewrites where additional
intermediate GEPs are introduced.



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