[all-commits] [llvm/llvm-project] 6b5b36: [Attributor] Remove function pointer type check (N...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Mar 4 03:10:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b5b36785826e79c67328220c4f10ad2ca4a9e46
      https://github.com/llvm/llvm-project/commit/6b5b36785826e79c67328220c4f10ad2ca4a9e46
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M llvm/lib/Transforms/IPO/Attributor.cpp

  Log Message:
  -----------
  [Attributor] Remove function pointer type check (NFCI)

This check is not relevant for correctness, it can only avoid
walking some recursive uses if the cast is to a non-function
pointer type. As this distinction will no longer be possible
with opaque pointers and all users will have to be walked
anyway, I'm dropping the check in advance.




More information about the All-commits mailing list