[all-commits] [llvm/llvm-project] 6c20c1: [AArch64][GlobalISel] NFC: Use CmpInst::isUnsigned...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Fri Nov 13 09:36:44 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c20c1da1e5cb1b014043f2ef3bba2550d5f5a67
      https://github.com/llvm/llvm-project/commit/6c20c1da1e5cb1b014043f2ef3bba2550d5f5a67
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2020-11-13 (Fri, 13 Nov 2020)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list