[PATCH] D81327: [X86] Teach combineBitcastvxi1 to prefer movmsk on avx512 in more cases

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 07:09:08 PDT 2020


RKSimon added inline comments.


================
Comment at: llvm/test/CodeGen/X86/bitcast-vector-bool.ll:6
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx2 | FileCheck %s --check-prefixes=AVX12,AVX2
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx512f,+avx512vl,+avx512bw | FileCheck %s --check-prefixes=AVX512
 
----------------
Add a common --check-prefixes=AVX prefix


================
Comment at: llvm/test/CodeGen/X86/movmsk-cmp.ll:6
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx512f | FileCheck %s  --check-prefix=KNL
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=+avx512vl,+avx512dq,+avx512bw | FileCheck %s  --check-prefix=SKX
 
----------------
Add --check-prefixes=AVX,AVX512 common prefixes to KNL/SKX now that they lower to the same code.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D81327/new/

https://reviews.llvm.org/D81327





More information about the llvm-commits mailing list