[all-commits] [llvm/llvm-project] 3d1068: [X86] emitFlagsForSetcc - pull out repeated isEqua...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Mar 28 07:02:57 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d1068ffe17276ac5bc9602f5b413814a474bd63
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-03-28 (Tue, 28 Mar 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp

  Log Message:
  [X86] emitFlagsForSetcc - pull out repeated isEquality condcode checks. NFC.

Most of the combines are for ISD::SETEQ/ISD::SETNE comparisons so do a single early-check for the condcode.

More information about the All-commits mailing list