[all-commits] [llvm/llvm-project] 444ac3: [APInt][PatternMatch] Add 'is non-positive' predicate

Roman Lebedev via All-commits all-commits at lists.llvm.org
Tue Dec 3 10:34:32 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 444ac34182d562db2cb3b7d93d0d63acca1a6c9a
      https://github.com/llvm/llvm-project/commit/444ac34182d562db2cb3b7d93d0d63acca1a6c9a
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2019-12-03 (Tue, 03 Dec 2019)

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

  Log Message:
  -----------
  [APInt][PatternMatch] Add 'is non-positive' predicate

It will be useful for implementing the fold mentioned in
https://bugs.llvm.org/show_bug.cgi?id=44100#c4




More information about the All-commits mailing list