[all-commits] [llvm/llvm-project] f89d59: [X86] Add parity test cases for PR46954.

topperc via All-commits all-commits at lists.llvm.org
Sat Aug 1 23:00:38 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f89d59a0853f90c54dea60500831d02901623223
      https://github.com/llvm/llvm-project/commit/f89d59a0853f90c54dea60500831d02901623223
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-08-01 (Sat, 01 Aug 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/parity.ll

  Log Message:
  -----------
  [X86] Add parity test cases for PR46954.

This adds tests cases where the parity idiom of (and (ctpop X, 1))
has a truncate in the middle.


  Commit: 56166a3a5229722e442e7dfd861b6d83ebf6c8b5
      https://github.com/llvm/llvm-project/commit/56166a3a5229722e442e7dfd861b6d83ebf6c8b5
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-08-01 (Sat, 01 Aug 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/parity.ll

  Log Message:
  -----------
  [X86] Improve parity idiom recognition to handle (and (truncate (ctpop X)), 1).

Fixes part of PR46954


Compare: https://github.com/llvm/llvm-project/compare/aa1f905890fb...56166a3a5229


More information about the All-commits mailing list