[PATCH] D146619: [llvm][ARM] Refactor isMnemonicVPTPredicable

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 22 05:46:09 PDT 2023


dmgreen added reviewers: simon_tatham, samtebbs.
dmgreen accepted this revision.
dmgreen added a comment.
This revision is now accepted and ready to land.

Sounds like a nice cleanup. LGTM



================
Comment at: llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp:12924
+
+  auto prefix = std::find_if(
+      std::begin(predicable_prefixes), std::end(predicable_prefixes),
----------------
Could this use any_of to avoid the need to check against end?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D146619



More information about the llvm-commits mailing list