[InstCombine] Move isSignBitCheck(), handle rest of the predicates
authorRoman Lebedev <lebedev.ri@gmail.com>
Mon, 7 Oct 2019 20:53:08 +0000 (20:53 +0000)
committerRoman Lebedev <lebedev.ri@gmail.com>
Mon, 7 Oct 2019 20:53:08 +0000 (20:53 +0000)
commit0c73be590e67af0bab088483f167c44538ff449d
tree53476fa4b37b62a77cafc0ce39348c9aed7bfff3
parentcb6d851bb65dbba3e4fc6a82226e9b308b11f89c
[InstCombine] Move isSignBitCheck(), handle rest of the predicates

True, no test coverage is being added here. But those non-canonical
predicates that are already handled here already have no test coverage
as far as i can tell. I tried to add tests for them, but all the patterns
already get handled elsewhere.

llvm-svn: 373962
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h