[all-commits] [llvm/llvm-project] a22335: [CGProfile] allows bitcast in metadata node storin...

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Fri Nov 13 09:29:21 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a223354161104c25f9c6663b66222bd5e1d532cd
      https://github.com/llvm/llvm-project/commit/a223354161104c25f9c6663b66222bd5e1d532cd
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2020-11-13 (Fri, 13 Nov 2020)

  Changed paths:
    M llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
    M llvm/lib/IR/Verifier.cpp
    A llvm/test/Transforms/FunctionImport/Inputs/cg_profile.ll
    A llvm/test/Transforms/FunctionImport/cg_profile.ll

  Log Message:
  -----------
  [CGProfile] allows bitcast in metadata node storing function pointers

For example,  during RAUW in IRMover, the `Function` ValueAsMetadata in "CG Profile" could become bitcast.

Reviewed By: tejohnson

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




More information about the All-commits mailing list