]> granicus.if.org Git - llvm/commit
[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)
commit322375e17ee545b5acef90d360a80401cbed2436
treea672c4616d0235aad8972d517b600e419f5d13f1
parent17520ed1e33177b9dacf0bbfac84378b223e0a14
[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.

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