[all-commits] [llvm/llvm-project] 8a8a2d: [lldb/Utility] Simplify Scalar handling of float t...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Aug 20 07:26:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8a8a2dd3165e63b29e725526745427c6434f0654
      https://github.com/llvm/llvm-project/commit/8a8a2dd3165e63b29e725526745427c6434f0654
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-08-20 (Thu, 20 Aug 2020)

  Changed paths:
    M lldb/include/lldb/Utility/Scalar.h
    M lldb/source/Utility/Scalar.cpp
    M lldb/unittests/Utility/ScalarTest.cpp

  Log Message:
  -----------
  [lldb/Utility] Simplify Scalar handling of float types

Similarly to D85836, collapse all Scalar float types to a single enum
value, and use APFloat semantics to differentiate between. This
simplifies the code, and opens to door to supporting other floating
point semantics (which would be needed for fully supporting
architectures with more interesting float types such as PPC).

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




More information about the All-commits mailing list