[PATCH] D68013: [PatternMatch] Make m_Br more flexible, add matchers for BB values.
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 03:52:57 PDT 2019
lebedev.ri added inline comments.
================
Comment at: llvm/include/llvm/IR/PatternMatch.h:682-686
+/// Match a specific integer value or vector with all elements equal to
+/// the value.
+inline specific_bbval m_SpecificBB(BasicBlock *BB) {
+ return specific_bbval(BB);
+}
----------------
Should `m_DeferredBB()` be added at the same time?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68013/new/
https://reviews.llvm.org/D68013
More information about the llvm-commits
mailing list