]> granicus.if.org Git - llvm/commit
Prefer AVX512 memcpy when applicable
authorDavid Zarzycki <dave@znu.io>
Mon, 23 Sep 2019 05:00:59 +0000 (05:00 +0000)
committerDavid Zarzycki <dave@znu.io>
Mon, 23 Sep 2019 05:00:59 +0000 (05:00 +0000)
commitb1bac09f88b7b70bb778d0fb6ac787150da0531d
treeceaf91e900306298677a1a971c3de7ac0e51dc1e
parent72f361078143e37720a4d8c4da9ad89f522044f9
Prefer AVX512 memcpy when applicable

When AVX512 is available and the preferred vector width is 512-bits or
more, we should prefer AVX512 for memcpy().

https://bugs.llvm.org/show_bug.cgi?id=43240

https://reviews.llvm.org/D67874

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372540 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/memcpy.ll
test/CodeGen/X86/memset-nonzero.ll
test/CodeGen/X86/memset-zero.ll