[PATCH] D144241: [NFC] Make FPClassTest a bitmask enumeration

Serge Pavlov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 16 23:28:07 PST 2023


sepavloff created this revision.
sepavloff added reviewers: arsenm, kpn, andrew.w.kaylor.
Herald added a subscriber: hiraditya.
Herald added a project: All.
sepavloff requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144241

Files:
  llvm/include/llvm/ADT/FloatingPointMode.h
  llvm/include/llvm/CodeGen/CodeGenCommonISel.h
  llvm/include/llvm/CodeGen/TargetLowering.h
  llvm/lib/CodeGen/CodeGenCommonISel.cpp
  llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/lib/IR/Verifier.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144241.498258.patch
Type: text/x-patch
Size: 5778 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230217/402f37a6/attachment.bin>


More information about the llvm-commits mailing list