]> granicus.if.org Git - llvm/commit
[NFC][PatternMatch] Refactor code into a proper "matcher for any integral constant"
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 22 Jul 2019 22:09:24 +0000 (22:09 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 22 Jul 2019 22:09:24 +0000 (22:09 +0000)
commitb2dbb70dba0b549edecd67d52a98276709b98f45
tree1338df9cc5ec93986e6aa7c7a94c0ce0942f1dbc
parent7cc8c7247e44f73192d46bcfe13090418f7921d2
[NFC][PatternMatch] Refactor code into a proper "matcher for any integral constant"

Having it as a proper matcher is better for reusability elsewhere
(in a follow-up patch.)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366752 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/PatternMatch.h
lib/Transforms/InstCombine/InstCombineInternal.h