OSDN Git Service

[ValueTracking] Base computeOverflowForUnsignedMul() on ConstantRange code; NFCI
authorNikita Popov <nikita.ppv@gmail.com>
Sun, 26 May 2019 13:22:01 +0000 (13:22 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 26 May 2019 13:22:01 +0000 (13:22 +0000)
commit279974865d83e493d5dcfeffa5e62990b99e1fc7
tree374a19671eb042545f41d5a080490effab84e96a
parente272ae9d3efd9869a7d1a90c2ab8a3a997703ce1
[ValueTracking] Base computeOverflowForUnsignedMul() on ConstantRange code; NFCI

The implementation in ValueTracking and ConstantRange are equally
powerful, reuse the one in ConstantRange, which will make this easier
to extend.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361723 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp