HomePhabricator

[NFC][PatternMatch] Refactor code into a proper "matcher for any integral…

Authored by lebedev.ri on Jul 22 2019, 3:09 PM.

Description

[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.)

llvm-svn: 366752

Details