HomePhabricator

[AArch64][GlobalISel] NFC: Use CmpInst::isUnsigned instead of static helper

Authored by paquette on Nov 13 2020, 9:28 AM.

Description

[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