[all-commits] [llvm/llvm-project] 7de492: [InstCombine] Preserve nuw flag in indexed compare...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Oct 2 07:04:15 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7de492f90dd733859f5f0dd582860ccc5899dc22
      https://github.com/llvm/llvm-project/commit/7de492f90dd733859f5f0dd582860ccc5899dc22
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/indexed-gep-compares.ll

  Log Message:
  -----------
  [InstCombine] Preserve nuw flag in indexed compare fold

If all the involved GEPs have the nuw flag, also preserve it on
the resulting adds and GEPs.



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