[all-commits] [llvm/llvm-project] 0a8982: [APSInt] Fix bug in APSInt mentioned in https://gi...

Peter Rong via All-commits all-commits at lists.llvm.org
Fri Jan 20 13:25:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a89825a289d149195be390003424adad026067f
      https://github.com/llvm/llvm-project/commit/0a89825a289d149195be390003424adad026067f
  Author: Peter Rong <PeterRong96 at gmail.com>
  Date:   2023-01-20 (Fri, 20 Jan 2023)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M llvm/include/llvm/ADT/APSInt.h
    M llvm/lib/CodeGen/MIRParser/MIParser.cpp
    M llvm/unittests/ADT/APSIntTest.cpp

  Log Message:
  -----------
  [APSInt] Fix bug in APSInt mentioned in https://github.com/llvm/llvm-project/issues/59515

Also provide a `tryExtValue()` API like APInt did in D139683

Reviewed By: RKSimon, efriedma

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




More information about the All-commits mailing list