[all-commits] [llvm/llvm-project] c831d8: [InferAddrSpaces] Correctly replace identical oper...

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Thu Feb 22 04:59:18 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c831d83bb17caa3a8f137052559cb6c54b21b7c1
      https://github.com/llvm/llvm-project/commit/c831d83bb17caa3a8f137052559cb6c54b21b7c1
  Author: Pierre van Houtryve <pierre.vanhoutryve at amd.com>
  Date:   2024-02-22 (Thu, 22 Feb 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
    A llvm/test/Transforms/InferAddressSpaces/AMDGPU/multiple-uses-of-val.ll

  Log Message:
  -----------
  [InferAddrSpaces] Correctly replace identical operands of insts (#82610)

It's important for PHI nodes because if a PHI node has multiple edges
coming from the same block, we can have the same incoming value multiple
times in the list of incoming values. All of those need to be consistent
(exact same Value*) otherwise verifier complains.

Fixes SWDEV-445797



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