[IR] CmpInst: add getUnsignedPredicate()
authorRoman Lebedev <lebedev.ri@gmail.com>
Fri, 6 Nov 2020 06:52:54 +0000 (09:52 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Fri, 6 Nov 2020 08:31:08 +0000 (11:31 +0300)
commita5ae3edaa380702eb2be225721533c1aab2f4d3e
tree42269c552ef20e02c26da1539ea1e94f9f5f72e0
parent5e312e0041972668f1bd67ff9ed0f16a594795a3
[IR] CmpInst: add getUnsignedPredicate()

There's already getSignedPredicate(), it is not symmetrical to not have
it's opposite. I wanted to use it in new code, but it wasn't there..
llvm/include/llvm/IR/InstrTypes.h
llvm/lib/IR/Instructions.cpp