[all-commits] [llvm/llvm-project] 47872a: [X86] Add test cases for missed opportunities to u...

topperc via All-commits all-commits at lists.llvm.org
Sat Jul 11 12:55:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 47872adf6ae236c798d05b7229e00f363ab2fe0f
      https://github.com/llvm/llvm-project/commit/47872adf6ae236c798d05b7229e00f363ab2fe0f
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-11 (Sat, 11 Jul 2020)

  Changed paths:
    M llvm/test/CodeGen/X86/avx512-logic.ll
    M llvm/test/CodeGen/X86/avx512vl-logic.ll

  Log Message:
  -----------
  [X86] Add test cases for missed opportunities to use vpternlog due to a bitcast between the logic ops.

These test cases fail to use vpternlog because the AND was converted
to a blend shuffle and then converted back to AND during shuffle lowering.
This results in the AND having a different type than it started with.
This prevents our custom matching logic from seeing the two logic ops.




More information about the All-commits mailing list