[IR] CmpInst: add isEquality(Pred)
Currently there is only a member version of isEquality(), which requires an actual [IF]CmpInst to be avaliable, which isn't always possible, and is inconsistent with the general pattern here. I wanted to use it in a new patch, but it wasn't there..
parent
a5ae3eda
Please register or sign in to comment