[all-commits] [llvm/llvm-project] 6cfbef: [PatternMatch] Add m_WithOverflowInst and m_Extrac...

David Green via All-commits all-commits at lists.llvm.org
Thu Oct 31 05:21:53 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6cfbefbc4a7ebcf3f2ee38962ddcd8df54719692
      https://github.com/llvm/llvm-project/commit/6cfbefbc4a7ebcf3f2ee38962ddcd8df54719692
  Author: David Green <david.green at arm.com>
  Date:   2019-10-31 (Thu, 31 Oct 2019)

  Changed paths:
    M llvm/include/llvm/IR/PatternMatch.h
    M llvm/unittests/IR/PatternMatch.cpp

  Log Message:
  -----------
  [PatternMatch] Add m_WithOverflowInst and m_ExtractValue matchers

Used in D69245, these add pattern matchers for the WithOverflowInst
(capturing the result) and the ExtractValue instructions taking a
template parameter specifying the element being extracted.




More information about the All-commits mailing list