[PATCH] D59852: [IR] Create new method in the Function class (NFC)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 3 13:19:14 PDT 2019


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

Ok, LGTM...it's just a convenience wrapper, so if anyone feels like the name can be improved, feel free. My vote would still be "isOptNone" or "hasOptNone". If that doesn't match the existing API, then I'd say fix that too: "hasOptSize".


Repository:
  rL LLVM

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

https://reviews.llvm.org/D59852





More information about the llvm-commits mailing list