[all-commits] [llvm/llvm-project] 1c2b81: [llvm-mca] Fix duplicate symbols error

Michael Maitland via All-commits all-commits at lists.llvm.org
Wed May 3 18:02:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c2b8129e99478a9b0222fc0aaf44a4a47e7ecd6
      https://github.com/llvm/llvm-project/commit/1c2b8129e99478a9b0222fc0aaf44a4a47e7ecd6
  Author: Michael Maitland <michaeltmaitland at gmail.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    A llvm/test/tools/llvm-mca/X86/Generic/no-duplicate-symbols.s
    M llvm/tools/llvm-mca/llvm-mca.cpp

  Log Message:
  -----------
  [llvm-mca] Fix duplicate symbols error

Parsing instruments and analysis regions causes us to see the same
labels two times since we parse the same file twice under the same
context.

This change creates a seperate context for instrument parsing
and another for analysis region parsing. I will post a follow up
commit once I get some free cycles to parse analysis regions and
instruments in one parsing pass under a single context.

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




More information about the All-commits mailing list