[all-commits] [llvm/llvm-project] f16bff: [GVN][NewGVN][Local] Handle attributes for functio...

Yingwei Zheng via All-commits all-commits at lists.llvm.org
Thu Oct 31 21:44:54 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f16bff1261a92169992c6edf6bc6b38d1c815c8d
      https://github.com/llvm/llvm-project/commit/f16bff1261a92169992c6edf6bc6b38d1c815c8d
  Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
  Date:   2024-11-01 (Fri, 01 Nov 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp
    M llvm/lib/Transforms/Scalar/NewGVN.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    A llvm/test/Transforms/GVN/pr113997.ll
    A llvm/test/Transforms/NewGVN/pr113997.ll

  Log Message:
  -----------
  [GVN][NewGVN][Local] Handle attributes for function calls after CSE (#114011)

This patch intersects attributes of two calls to avoid introducing UB.
It also skips incompatible call pairs in GVN/NewGVN. However, I cannot
provide negative tests for these changes.

Fixes https://github.com/llvm/llvm-project/issues/113997.



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