[all-commits] [llvm/llvm-project] 6467b4: [InstCombine] Preserve all flags in phi of gep fold

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jun 19 03:14:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6467b49480cbf2aaa7cf22a0dab1d7b15fe54fd1
      https://github.com/llvm/llvm-project/commit/6467b49480cbf2aaa7cf22a0dab1d7b15fe54fd1
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-06-19 (Wed, 19 Jun 2024)

  Changed paths:
    M llvm/include/llvm/IR/GEPNoWrapFlags.h
    M llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp
    M llvm/test/Transforms/InstCombine/opaque-ptr.ll

  Log Message:
  -----------
  [InstCombine] Preserve all flags in phi of gep fold

Preserve the intersection of all flags. Add GEPNoWrapFlags::all()
to serve as the initialization value for the intersection.



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