[PATCH] D86145: [Attributor] Simplify comparison against constant null pointer

Shinji Okumura via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 06:14:19 PDT 2020


okura added a comment.

I think the logic is correct too and we need comments for this.
IMHO, putting the conditional into helper function would improve readability.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86145/new/

https://reviews.llvm.org/D86145



More information about the llvm-commits mailing list