[PATCH] D68013: [PatternMatch] Make m_Br more flexible, add matchers for BB values.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 07:55:23 PDT 2019


fhahn marked an inline comment as done.
fhahn added a comment.

Thanks!



================
Comment at: llvm/include/llvm/IR/PatternMatch.h:1403
 }
 
 //===----------------------------------------------------------------------===//
----------------
lebedev.ri wrote:
> Should there be `m_c_Br` ?
I am not entirely sure. I think for most use cases with branches, matching commuted targets is not too common, but if there are cases it should be a straight forward follow-up.


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