[all-commits] [llvm/llvm-project] 1fd661: [SelectionDAG] Restore calls to has_value (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Sun Jul 10 14:37:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fd6611fc8802479a8bd03431a0541ad207ce7b9
      https://github.com/llvm/llvm-project/commit/1fd6611fc8802479a8bd03431a0541ad207ce7b9
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-07-10 (Sun, 10 Jul 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [SelectionDAG] Restore calls to has_value (NFC)

This patch restores calls to has_value to make it clear that we are
checking the presence of an optional value, not the underlying value.

This patch partially reverts d08f34b592ff06ccb1f36da88ec09aa926427a4d.

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




More information about the All-commits mailing list