[all-commits] [llvm/llvm-project] b65471: [Attributor][FIX] Visit same instructions with dif...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Wed Aug 10 14:02:31 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b65471d7152d15790ae599326da86b7e6cfb4580
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/AttributorAttributes.cpp
    M llvm/test/Transforms/Attributor/value-simplify-pointer-info.ll

  Log Message:
  [Attributor][FIX] Visit same instructions with different scopes

If we collect potential values we need to visit a value even if we have
seen it before if the scope is different. The scope is part of the
result after all. Test included.

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

Differential Revision: https://reviews.llvm.org/D131597

More information about the All-commits mailing list