[all-commits] [llvm/llvm-project] cf1bcc: [X86] Add test showing failure to fold testc(X, ~X)...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Apr 1 12:29:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf1bccf15c3582f0d59297a5feeb00080ca2c5f6
      https://github.com/llvm/llvm-project/commit/cf1bccf15c3582f0d59297a5feeb00080ca2c5f6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-04-01 (Sat, 01 Apr 2023)

  Changed paths:
    M llvm/test/CodeGen/X86/combine-ptest.ll

  Log Message:
  -----------
  [X86] Add test showing failure to fold testc(X,~X) -> testc(X,-1)


  Commit: bf2ce6ba422b93d5338f36654168aa1fa4e78798
      https://github.com/llvm/llvm-project/commit/bf2ce6ba422b93d5338f36654168aa1fa4e78798
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-04-01 (Sat, 01 Apr 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/combine-ptest.ll
    M llvm/test/CodeGen/X86/vector-reduce-and-bool.ll
    M llvm/test/CodeGen/X86/vector-reduce-and-cmp.ll
    M llvm/test/CodeGen/X86/vector-reduce-and-scalar.ll

  Log Message:
  -----------
  [X86] combinePTESTCC - fold TESTC(X,~X) -> TESTC(X,-1)

Partial fix for Issue #59998


Compare: https://github.com/llvm/llvm-project/compare/2469bd98a772...bf2ce6ba422b


More information about the All-commits mailing list