[all-commits] [llvm/llvm-project] 3aa24e: [SelectionDAG] Simplify classof of MemSDNode and M...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Mon Nov 11 22:36:53 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3aa24eae52aa463ce47b528879a9a24e04956b88
      https://github.com/llvm/llvm-project/commit/3aa24eae52aa463ce47b528879a9a24e04956b88
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAGNodes.h

  Log Message:
  -----------
  [SelectionDAG] Simplify classof of MemSDNode and MemIntrinsicSDNode (NFC) (#115720)

`SDNodeBits.IsMemIntrinsic` is set if and only if the node is an
instance of `MemIntrinsicSDNode`. Thus, to check if a node is an
instance of `MemIntrinsicSDNode` we only need to check this bit.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list