OSDN Git Service

[InstCombine] Remove OverflowCheckFlavor; NFC
authorNikita Popov <nikita.ppv@gmail.com>
Sun, 26 May 2019 11:43:31 +0000 (11:43 +0000)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 26 May 2019 11:43:31 +0000 (11:43 +0000)
commit0461d73cc94f716ab9bacaa8879626b2516efe33
treef7f79a8fc98e9bfff645a1b4218859a926bf5e90
parent022a9b3cc6d67e3b275ac9a11e33b7f1aabad67a
[InstCombine] Remove OverflowCheckFlavor; NFC

Instead pass binary op and signedness. The extra enum only makes
things more complicated in this case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361720 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/InstCombine/InstCombineInternal.h