[AArch64][GlobalISel] NFC: Use CmpInst::isUnsigned instead of static helper
authorJessica Paquette <jpaquette@apple.com>
Fri, 13 Nov 2020 17:28:37 +0000 (09:28 -0800)
committerJessica Paquette <jpaquette@apple.com>
Fri, 13 Nov 2020 17:35:42 +0000 (09:35 -0800)
commit6c20c1da1e5cb1b014043f2ef3bba2550d5f5a67
tree8f6e0f782603912f6e95767219364b1b31ed138b
parent16f02431dc53af2b8acbc60d7cc1aafdad59a9f9
[AArch64][GlobalISel] NFC: Use CmpInst::isUnsigned instead of static helper

Reducing some code duplication.

We had a helper for checking if a predicate is unsigned. Remove that and use
the existing function in Instructions.cpp.

Differential Revision: https://reviews.llvm.org/D91288
llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp