[all-commits] [llvm/llvm-project] f38aba: [X86] MatchVectorAllZeroTest - return X86::CondCod...

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

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f38aba1866ef68da64921eb0270e93880f5f704b
  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] MatchVectorAllZeroTest - return X86::CondCode instead of constant node. NFC.

Just return the X86::CondCode enum value instead of creating the target constant node in multiple locations, letting us use the getSETCC helper.

More information about the All-commits mailing list