[PATCH] D68632: [X86] Make memcmp() use PTEST if possible and also enable AVX1

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 10:33:00 PDT 2019


craig.topper added inline comments.


================
Comment at: test/CodeGen/X86/setcc-wide-types.ll:2
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=sse2     | FileCheck %s --check-prefix=ANY --check-prefix=NO512 --check-prefix=SSE2
 ; RUN: llc < %s -mtriple=x86_64-unknown-unknown -mattr=avx      | FileCheck %s --check-prefix=ANY --check-prefix=NO512 --check-prefix=AVXANY --check-prefix=AVX1
----------------
Need an sse4.1 command line since we changed that behavior too.


================
Comment at: test/CodeGen/X86/setcc-wide-types.ll:101
+; AVX2-NEXT:    retq
   %bcx = bitcast <4 x i64> %x to i256
   %bcy = bitcast <4 x i64> %y to i256
----------------
The AVX512 checks are missing here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D68632





More information about the llvm-commits mailing list