[all-commits] [llvm/llvm-project] c89b3a: [X86] Pre-commit test cases for D87863. NFC

topperc via All-commits all-commits at lists.llvm.org
Sun Sep 20 15:15:03 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c89b3af0e3e970820ed35798ab2516459a8d829d
      https://github.com/llvm/llvm-project/commit/c89b3af0e3e970820ed35798ab2516459a8d829d
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-09-20 (Sun, 20 Sep 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/masked_load.ll
    M llvm/test/CodeGen/X86/masked_store.ll

  Log Message:
  -----------
  [X86] Pre-commit test cases for D87863. NFC


  Commit: a74b1faba242e0ca4608e5d90495766a272758f0
      https://github.com/llvm/llvm-project/commit/a74b1faba242e0ca4608e5d90495766a272758f0
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-09-20 (Sun, 20 Sep 2020)

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

  Log Message:
  -----------
  [X86] Make reduceMaskedLoadToScalarLoad/reduceMaskedStoreToScalarStore work for avx512 after type legalization.

The scalar elements of the vXi1 build_vector will have been type legalized to i8 by padding with 0s. So we can't check for all ones. Instead we should just look at bit 0 of the constant.

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


Compare: https://github.com/llvm/llvm-project/compare/4e8c028158b5...a74b1faba242


More information about the All-commits mailing list