[all-commits] [llvm/llvm-project] 94e03a: [IPO] Restore a call to has_value (NFC)

kazutakahirata via All-commits all-commits at lists.llvm.org
Wed Jul 20 09:40:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94e03abf91d5dafd4a466b76dd85588335937028
      https://github.com/llvm/llvm-project/commit/94e03abf91d5dafd4a466b76dd85588335937028
  Author: Kazu Hirata <kazu at google.com>
  Date:   2022-07-20 (Wed, 20 Jul 2022)

  Changed paths:
    M llvm/include/llvm/Transforms/IPO/Attributor.h

  Log Message:
  -----------
  [IPO] Restore a call to has_value (NFC)

This patch restores a call 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/D129453




More information about the All-commits mailing list