[IR] CmpInst: Add getFlippedSignednessPredicate()
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 6 Nov 2020 08:14:03 +0000 (11:14 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 6 Nov 2020 08:31:09 +0000 (11:31 +0300)
commit8d0fdd36a3a3e7d1bb07c34ab61cfe2671d13444
tree40412adb9619e59bd0b8dc29d177506a0d894dc2
parentd4f70d64547a1cf9a39e29dc4b70e53158df49fb
[IR] CmpInst: Add getFlippedSignednessPredicate()

And refactor a few places to use it
llvm/include/llvm/IR/InstrTypes.h
llvm/lib/IR/Instructions.cpp
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp