[all-commits] [llvm/llvm-project] b30315: [ThinLTO] parse flags and blockcount summaries

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Mon Jul 20 09:50:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b3031593eaf577037a1ff7f7bc4f446eee83d91e
      https://github.com/llvm/llvm-project/commit/b3031593eaf577037a1ff7f7bc4f446eee83d91e
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/lib/AsmParser/LLParser.cpp
    M llvm/test/Assembler/thinlto-bad-summary1.ll
    A llvm/test/Assembler/thinlto-blockcount-summary.ll
    A llvm/test/Assembler/thinlto-flags-summary.ll
    M llvm/test/Assembler/thinlto-summary.ll

  Log Message:
  -----------
  [ThinLTO] parse flags and blockcount summaries

Forked from pr/46523, we were having a hard time running llvm-extract on
IR from a thinLTO build of the Linux kernel.

$ llvm-extract --func jeq_imm jit-42f488b63a04fdaa931315bdadecb6d23e20529a.ll
llvm-extract: jit-42f488b63a04fdaa931315bdadecb6d23e20529a.ll:47463:8:
error: Expected 'gv', 'module', or 'typeid' at the start of summary
entry
^209 = flags: 8
       ^

Reviewed By: tejohnson

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




More information about the All-commits mailing list