[all-commits] [llvm/llvm-project] dd3eb5: [X86] Create all-one vector(v8i32) for TESTC(X, ~X)...

yubingex007-a11y via All-commits all-commits at lists.llvm.org
Tue Apr 18 10:28:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dd3eb53275ed30dd73e210d9181849ddd2869590
      https://github.com/llvm/llvm-project/commit/dd3eb53275ed30dd73e210d9181849ddd2869590
  Author: Bing1 Yu <bing1.yu at intel.com>
  Date:   2023-04-19 (Wed, 19 Apr 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-testpd.ll
    M llvm/test/CodeGen/X86/combine-testps.ll

  Log Message:
  -----------
  [X86] Create all-one vector(v8i32) for TESTC(X,~X) == TESTC(X,-1) if X is v8f32

getAllOnesConstant can only take v8i32 instead of v8f32

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D148608




More information about the All-commits mailing list