[InstCombine] Directly call computeOverflow methods in OptimizeOverflowCheck; NFC
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 10 Apr 2019 07:10:44 +0000 (07:10 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 10 Apr 2019 07:10:44 +0000 (07:10 +0000)
commit596cbeb7058b98518952612069e2bb0b13863ef8
tree0984a5beac25050ee80f65b8b07fec779033749f
parent5e13ff1da20bf02bbb256b2006dcbb42e06d300e
[InstCombine] Directly call computeOverflow methods in OptimizeOverflowCheck; NFC

Instead of using the willOverflow helpers. This makes it easier to
extend handling of AlwaysOverflows.

llvm-svn: 358051
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp