HomePhabricator

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

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

Details

Committed
lebedevriJul 22 2019, 3:09 PM
Parents
rL366751: [InstSimplify][NFC] Tests for skipping 'div-by-0' checks before @llvm.umul.with.
Branches
Unknown
Tags
Unknown