[all-commits] [llvm/llvm-project] 0c14f0: [Scalarizer] Use correct key for ExtractValueInst ...

Deric C. via All-commits all-commits at lists.llvm.org
Mon Jul 21 17:12:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c14f0e891ad88b9bb4666ef337466961b27314f
      https://github.com/llvm/llvm-project/commit/0c14f0e891ad88b9bb4666ef337466961b27314f
  Author: Deric C. <cheung.deric at gmail.com>
  Date:   2025-07-21 (Mon, 21 Jul 2025)

  Changed paths:
    M llvm/lib/Transforms/Scalar/Scalarizer.cpp
    M llvm/test/CodeGen/DirectX/UAddc.ll
    A llvm/test/Transforms/Scalarizer/extractvalue-struct-of-vectors.ll

  Log Message:
  -----------
  [Scalarizer] Use correct key for ExtractValueInst gather (#149855)

Fixes #149345

Effectively no-op pairs of insertelement-extractelement instructions
were being created due to the ExtractValueInst visitor in the Scalarizer
storing its scalarized result into the Scattered map using an incorrect
key (specifically the type used in the key).
This PR fixes this issue.



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