[all-commits] [llvm/llvm-project] 09742b: [llvm-profgen] Remove target triple check to allow...

Hongtao Yu via All-commits all-commits at lists.llvm.org
Fri Jun 23 10:16:40 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 09742be8186b1162e09cbfb4a8e1275d88d9c462
      https://github.com/llvm/llvm-project/commit/09742be8186b1162e09cbfb4a8e1275d88d9c462
  Author: Hongtao Yu <hoy at fb.com>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp

  Log Message:
  -----------
  [llvm-profgen] Remove target triple check to allow for more targets

Llvm-profgen internally uses the llvm libraries and the MCDesc interface to do disassembling and symblization and it never checks against target-specific instruction operators. This makes it quite transparent to targets and a first attempt for an aarch64 binary just works. Therefore I'm removing the unnecessary triple check to unblock for new targets.

Reviewed By: wenlei

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




More information about the All-commits mailing list