[all-commits] [llvm/llvm-project] 7f81dd: [NFC] Make FPClassTest a bitmask enumeration

Serge Pavlov via All-commits all-commits at lists.llvm.org
Fri Feb 24 00:12:44 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f81dd4dd630790070698816f03597279da67d45
      https://github.com/llvm/llvm-project/commit/7f81dd4dd630790070698816f03597279da67d45
  Author: Serge Pavlov <sepavloff at gmail.com>
  Date:   2023-02-24 (Fri, 24 Feb 2023)

  Changed paths:
    M llvm/include/llvm/ADT/BitmaskEnum.h
    M llvm/include/llvm/ADT/FloatingPointMode.h
    M llvm/include/llvm/CodeGen/CodeGenCommonISel.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/lib/CodeGen/CodeGenCommonISel.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/unittests/ADT/BitmaskEnumTest.cpp

  Log Message:
  -----------
  [NFC] Make FPClassTest a bitmask enumeration

This is recommit of 2e416cdd52, fixed to be accepatble by GCC.
The original commit message is below.

With this change bitwise operations are allowed for FPClassTest
enumeration, it must simplify using this type. Also some functions
changed to get argument of type FPClassTest instead of unsigned.

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




More information about the All-commits mailing list