[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 04:48:49 PDT 2019
lebedev.ri added inline comments.
================
Comment at: llvm/include/llvm/IR/PatternMatch.h:682-683
+
+/// Match a specific integer value or vector with all elements equal to
+/// the value.
+inline specific_bbval m_SpecificBB(BasicBlock *BB) {
----------------
This comment seems outdated.
================
Comment at: llvm/include/llvm/IR/PatternMatch.h:1375-1379
+template <typename Cond_t, typename TrueBlock_t, typename FalseBlock_t>
+struct brc_match {
Cond_t Cond;
- BasicBlock *&T, *&F;
+ TrueBlock_t T;
+ FalseBlock_t F;
----------------
Precommit
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