[all-commits] [llvm/llvm-project] 323049: Fix clang debug info irgen of i128 enums

Reid Kleckner via All-commits all-commits at lists.llvm.org
Mon Jul 26 12:25:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 323049329939becf690adbeeff9f5f7e219075ec
      https://github.com/llvm/llvm-project/commit/323049329939becf690adbeeff9f5f7e219075ec
  Author: Reid Kleckner <rnk at google.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    A clang/test/CodeGenCXX/debug-info-enum-i128.cpp
    M llvm/include/llvm/IR/DIBuilder.h
    M llvm/lib/IR/DIBuilder.cpp

  Log Message:
  -----------
  Fix clang debug info irgen of i128 enums

DIEnumerator stores an APInt as of April 2020, so now we don't need to
truncate the enumerator value to 64 bits. Fixes assertions during IRGen.

Split from D105320, thanks to Matheus Izvekov for the test case and
report.

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


  Commit: d56e6985528bae0305c1633fd8db1658d1b28356
      https://github.com/llvm/llvm-project/commit/d56e6985528bae0305c1633fd8db1658d1b28356
  Author: Reid Kleckner <rnk at google.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyCFG.cpp

  Log Message:
  -----------
  [SimplifyCFG] Remove stale comment after d7378259aa, NFC


Compare: https://github.com/llvm/llvm-project/compare/2d788959edda...d56e6985528b


More information about the All-commits mailing list