[all-commits] [llvm/llvm-project] cfea3d: [AbstractCallSite] Look though constant cast expre...

Sergey Dmitriev via All-commits all-commits at lists.llvm.org
Thu Apr 30 15:10:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: cfea3dc10214a3be6f03bfea638de0612f77bddf
      https://github.com/llvm/llvm-project/commit/cfea3dc10214a3be6f03bfea638de0612f77bddf
  Author: Sergey Dmitriev <serguei.n.dmitriev at intel.com>
  Date:   2020-04-30 (Thu, 30 Apr 2020)

  Changed paths:
    M llvm/include/llvm/IR/AbstractCallSite.h
    A llvm/unittests/IR/AbstractCallSiteTest.cpp
    M llvm/unittests/IR/CMakeLists.txt

  Log Message:
  -----------
  [AbstractCallSite] Look though constant cast expression when checking for callee use

Summary: That makes AbstractCallSite::isCallee(const Use *) behavior consistent with AbstractCallSite constructor.

Reviewers: jdoerfert

Reviewed By: jdoerfert

Subscribers: mgorny, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list